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
I made a sample app (PRs: #25#27) in Swift that mimics the current example ObjC app and runs on both iPhone and iPad, using the built-in NYTPhotosViewController. On iPad, the ShareActivityViewController crashes because it needs to be presented inside a popover. This can be done in iOS 8 simply by setting shareActivityViewController.popoverPresentationController?.barButtonItem but on iOS 7 will need to wrap inside a UIPopoverController I guess. Are there any other considerations?
The text was updated successfully, but these errors were encountered:
I made a sample app (PRs: #25 #27) in Swift that mimics the current example ObjC app and runs on both iPhone and iPad, using the built-in NYTPhotosViewController. On iPad, the ShareActivityViewController crashes because it needs to be presented inside a popover. This can be done in iOS 8 simply by setting
shareActivityViewController.popoverPresentationController?.barButtonItem
but on iOS 7 will need to wrap inside aUIPopoverController
I guess. Are there any other considerations?The text was updated successfully, but these errors were encountered: