Added dynamic delegate for UIPopoverPresentationController#359
Added dynamic delegate for UIPopoverPresentationController#359mathaeus wants to merge 2 commits intoBlocksKit:masterfrom
UIPopoverPresentationController#359Conversation
|
👍 |
1 similar comment
|
👍 |
…BlocksKit+UIKit` header
fabb
left a comment
There was a problem hiding this comment.
BlocksKit supports according to the podspec a minimum iOS target of iOS 6. The UIPopoverPresentationController only is available from iOS 8 on. So either some #ifdefs are needed, or the minimum iOS version in the podspec should be raised.
|
@fabb regarding the minimum iOS target: Since the files in this PR add a The Also compare with the |
|
|
||
| @implementation A2DynamicUIPopoverPresentationControllerDelegate | ||
|
|
||
| - (BOOL)popoverControllerShouldDismissPopover:(UIPopoverPresentationController *)popoverPresentationController |
There was a problem hiding this comment.
wrong method signature, crashes at runtime
| return should; | ||
| } | ||
|
|
||
| - (void)popoverControllerDidDismissPopover:(UIPopoverPresentationController *)popoverPresentationController |
There was a problem hiding this comment.
wrong method signature, crashes at runtime
No description provided.