Can we create iPad like UIPopOver
in iPhone devices using Swift
where source is UIButton
. I created UIPopOver
from UIBarButtonItem
and its working fine but It's not working in case of UIButton
. Can anyone suggest a better solution asap. I need to work it in iPhone device.
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- Using if let syntax in switch statement
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Enum with associated value conforming to CaseItera
Yes you can, but you need to implement delegate of
popoverPresentationController
Now implement this method of
popoverPresentationController
inside yourViewController