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
PhotoEditor+Controls.swift line at 88
@IBAction func shareButtonTapped(_ sender: UIButton) { // let activity = UIActivityViewController(activityItems: [canvasView.toImage()], applicationActivities: nil) // present(activity, animated: true, completion: nil) // print("shareButtonTapped") let objectsToShare = [canvasView.toImage()] let activityVC = UIActivityViewController(activityItems: objectsToShare, applicationActivities: nil) activityVC.title = "Share One" activityVC.excludedActivityTypes = [] activityVC.popoverPresentationController?.sourceView = self.view activityVC.popoverPresentationController?.sourceRect = sender.frame self.present(activityVC, animated: true, completion: nil) }
CropViewController.swift line at 148
func constrain(_ sender: UIBarButtonItem) { let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) if let popoverController = actionSheet.popoverPresentationController { popoverController.barButtonItem = sender popoverController.permittedArrowDirections = .down }
The text was updated successfully, but these errors were encountered:
What is the bug?
crash?
unexpected behavior?
something else?
Sorry, something went wrong.
If it crashes try:
func constrain(_ sender: UIBarButtonItem) { let actionSheet = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet) if let popoverController = actionSheet.popoverPresentationController { ///popoverController.barButtonItem = sender popoverController.popoverPresentationController?.sourceView = sender popoverController.permittedArrowDirections = .down }
Disclaimer: this code is untested, I’m browsing from my phone, but maybe it can help.
No branches or pull requests
fix bug in ipad
PhotoEditor+Controls.swift line at 88
CropViewController.swift line at 148
The text was updated successfully, but these errors were encountered: