Describe the bug
Crash on iOS when presenting the Stripe PaymentSheet. The crash occurs inside BottomSheetViewController.navigationBarBlur.getter during viewDidLoad().
Stack trace
Fatal Exception: NSInvalidArgumentException
BottomSheetViewController.navigationBarBlur.getter (BottomSheetViewController.swift:56)
closure #1 in navigationBarBlur.getter (BottomSheetViewController.swift:61)
BottomSheetViewController.enableNavigationBarBlurInteraction() (BottomSheetViewController.swift:399)
BottomSheetViewController.viewDidLoad() (BottomSheetViewController.swift:371)
PaymentSheet.present(from:completion:) (PaymentSheet.swift:210)
StripeSdkImpl.presentPaymentSheet(options:resolver:rejecter:) (StripeSdkImpl.swift:247)
Expected behavior
Stripe bottom sheet should display correctly with the navigation bar blur.
Smartphone
- Device: iPhone 16 Pro Max, ...
- OS: 26
- SDK version: 0.57.0