When i tried to show picker on current top controller i'm getting a warning to present on rootviewcontroller only not on top view controllerWarning: Attempt to present <UIAlertController: 0x1580a1e00> on <adingViewController: 0x157d64110> whose view is not in the window hierarchy! And picker doesn't show up. if i call showBluetoothAccessoryPicker in rootview controller getting a constranit errorA constraint factory method was passed a nil layout anchor. This is not allowed, and may cause confusing exceptions. Break on BOOL _NSLayoutConstraintToNilAnchor(void) to debug. This will be logged only once. This may break in the future.And once picker pops up screen becomes blank with picker and after picker dismissal whole viewcontroller becomes balnk.
Post
Replies
Boosts
Views
Activity
I'm getting a warning while presenting pickerWarning: Attempt to present <UIAlertController: 0x1060d1000> on <er: 0x10580c340> whose view is not in the window hierarchy!And getting blank screen after picker dismissal