UIPOPOVER for Iphone? or is it fake?

后端 未结 2 1303
野性不改
野性不改 2021-01-13 11:52

Can anyone take a look a this ? : http://www.woowoomac.com/storage/awesome-note-iphone-note-todo-app-menus.jpg?__SQUARESPACE_CACHEVERSION=1268581762429

As we know ip

2条回答
  •  盖世英雄少女心
    2021-01-13 12:27

    I created a class myself with the exact same interface as the UIPopoverController, but generalized for the iPhone. It allows you to customize the background and arrow for the popover as well. The tricky part is calculating the correct rectangle for the arrow image and resizing the background image properly, but other than that it's just standard UIView stuff (adding subviews, etc).

    You can find a sample project including the core popover classes here: https://github.com/werner77/WEPopover

提交回复
热议问题