You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I cannot show rating alert dialog except from root view controller. I will implement this library in a game.
My rating logic is like following;
If a user makes a very high score, I will show rating dialog. But the problem is that the gameplay view is not the RootViewController. That's why it is impossible to show that dialog in every viewcontroller on pre-iOS 10.3 devices.
Is it possible that you implement some logic by which developers can pass desired ViewController as a parameter? So we can have the ability to show it everywhere.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I cannot show rating alert dialog except from root view controller. I will implement this library in a game.
My rating logic is like following;
If a user makes a very high score, I will show rating dialog. But the problem is that the gameplay view is not the RootViewController. That's why it is impossible to show that dialog in every viewcontroller on pre-iOS 10.3 devices.
SwiftRater.swift
UIApplication.shared.keyWindow?.rootViewController?.present(alertController, animated: true, completion: nil)
Is it possible that you implement some logic by which developers can pass desired ViewController as a parameter? So we can have the ability to show it everywhere.
Thanks!
The text was updated successfully, but these errors were encountered: