开发者

Objective-C: Create custom UIPopoverController like in iCalendar App

Is it possible to create a custom UIPopoverController? Can you give me some suggestions (Links, tutorial...)?

I would create a sort of popover like the one in iPad calendar application. When the popover appears (in view mode), it has no border (white background). Then, when you enter the modify mode (for example through a modify button), the popover chage its appereance (the border开发者_StackOverflow color and so on).

Thank you in advance. Regards.


The only way seems to be creating a new pop over view (custom) and adding it as a subview .


For those interested in.

See cmpoptipview-custom-popup-view-for-ios if you need to create custom popover in iOS.

Since iOS5 it is also possible to customize the background view for the popover. For further info see Customizing the Popover Appearance section in UIPopoverController class reference.

Hope it helps.


The following link shows a very very basic tutorial on custom popover controllers... http://blog.blackwhale.at/2010/04/show-a-custom-popover-view/ hope this gives you a good start...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜