Is there an easy way to accomplish this kind of pop-up window (like there is with UIPopoverController) or should I build it from scratch?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- window端口父进程PID查询
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
You can make something like this from scratch pretty easily. The trick is to make your popover view controller have a full screen transparent layer
From your main view:
Now its just a matter of implementing viewWillAppear if you want transition effects:
For bonus points you can make the transparent background a control and have it detect touches for when the popup should go away. I used interface builder to call an action which calls slideOut.