I was wondering if there was a sort of simple way to (when the device is in the correct Portrait orientation), to programmatically display the RootViewCont开发者_运维知识库roller
in the UIPopoverController
of the UISplitViewController
.
You have the UIBarButtonItem
that the split view gave you in it's delegate callback. You can use that one:
[barItem.target performSelector:barItem.action withObject:barItem];
Its a hack, but works. Please file a request at http://bugreport.apple.com for a better solution.
精彩评论