Describe the bug
When I present SKStoreReviewController the input bar moves down behind the device borders and never comes back if the app has nested navigation/tabbar controllers.
To Reproduce
Steps/code to reproduce the behavior:
Just take example code and add somewhere inside view controller the following code (for example in viewDidLoad with delay):
import StoreKit
...
DispatchQueue.main.asyncAfter(deadline: .now() + 1) {
SKStoreReviewController.requestReview()
}
Then in AppDelegate add some levels of nested controllers. In my case I used the following code:
let tabbarController = UITabBarController()
tabbarController.viewControllers = [
UINavigationController(rootViewController: InputBarStyleSelectionController())
]
window?.rootViewController = UINavigationController(rootViewController: tabbarController)
Expected behavior
Input bar persists or at least appears back after SKStoreReviewController.
Screenshots
Input bar just disappears and never returns back
Environment
- What version of InputBarAccessoryView are you using? 5.4.0 and 6.40 (latest)
- What version of iOS are you running on? iOS 17.1.1
- What version of Swift are you running on? Swift 5
- What device(s) are you testing on? Are these simulators? iPhone SE 2020
- Is the issue you're experiencing reproducable in the example app? Yes
Additional context
Related issue:
#266
Describe the bug
When I present
SKStoreReviewControllerthe input bar moves down behind the device borders and never comes back if the app has nested navigation/tabbar controllers.To Reproduce
Steps/code to reproduce the behavior:
Just take example code and add somewhere inside view controller the following code (for example in viewDidLoad with delay):
Then in AppDelegate add some levels of nested controllers. In my case I used the following code:
Expected behavior
Input bar persists or at least appears back after
SKStoreReviewController.Screenshots
Input bar just disappears and never returns back
Environment
Additional context
Related issue:
#266