In iOS 8
UIWebView
I loaded a html page which has selection options via popover
. Webview
opens the native popover
to show the options but the app is crashing when tapping the buttons.
In iOS 7
its working fine. Following is the error message in iOS 8
.
Terminating app due to uncaught exception 'NSGenericException',
reason: 'UIPopoverPresentationController
() should have a non-nil
sourceView or barButtonItem set before the presentation occurs.'