I am having some trouble using adaptive presentations with EventKitUI,

I am implementing a feature which allows my users to add an event to their 
calendar. I have imported EventKitUI framework and I am presenting an 
EKEventEditViewController. On iPad it’s shown 

But I would like to show this using UIAdaptivePresentations so that on iPad 
it’s shown in a popover. 

However the only presentation controller EKEventEditViewController only vends 
the following:

-presentationController => instance of _UIFullscreenPresentationController
-popoverPresentationController => nil

I was under the impression that I should be able to configure this by using a 
popover modal style (UIModalPresentationPopover) and configuring the 
popoverPresentationController with a sourceView and a sourceRect.

But I think I may be overlooking something…  Perhaps EventKitUI just simply 
doesn’t support what I want out of the box?

Could anyone point me in the right direction?

Thank you
-Daniel

Sent from my iPad
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to