开发者

UIPopoverController. Is is appropriate to embed a tableViewController within?

I am doing a开发者_如何学Pythonn iPad imaging app and I am considering UIPopoverController as my workhorse user interface element. The user will spend most of their time immersed in fullscreen content (in both portrait and landscape). When the user wants to select a different piece of content I want to use UIPopoverController to handle that. Is it appropriate to embed a tableViewController in a UIPopoverController to allow in-place scrolling or am I abusing the intended use of UIPopoverController?

Thanks,

Doug


Absolutely. You might consider using a split view controller, with the table view embedded in the left-hand view; that, plus a toolbar item to present the popover-enclosed table in portrait mode, is a pretty common design pattern.


It works fine. You can see lots of examples of Apple apps (eg Mail) that do exactly that.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜