Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input bar becomes hidden because of outer circumstances and never appears again #267

Open
gerchicov-vg opened this issue Jul 31, 2024 · 0 comments

Comments

@gerchicov-vg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant