We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Crashes on ipad ios9+ if we dont set the UIPopoverPresentationController source
(void)actionButtonClicked:(UIBarButtonItem *)sender { NSArray *activities = @[[SVWebViewControllerActivitySafari new], [SVWebViewControllerActivityChrome new]];
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:@[self.self.webView.request.URL] applicationActivities:activities]; if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) { UIPopoverPresentationController *popPresenter = [activityController popoverPresentationController]; popPresenter.barButtonItem = sender;
} [self presentViewController:activityController animated:YES completion:nil]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Crashes on ipad ios9+ if we dont set the UIPopoverPresentationController source
(void)actionButtonClicked:(UIBarButtonItem *)sender {
NSArray *activities = @[[SVWebViewControllerActivitySafari new], [SVWebViewControllerActivityChrome new]];
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:@[self.self.webView.request.URL] applicationActivities:activities];
if ([[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad) {
UIPopoverPresentationController *popPresenter = [activityController popoverPresentationController];
popPresenter.barButtonItem = sender;
}
[self presentViewController:activityController animated:YES completion:nil];
}
The text was updated successfully, but these errors were encountered: