分享iOS功能界面漂亮的弹出框
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了分享iOS功能界面漂亮的弹出框相关的知识,希望对你有一定的参考价值。
STPopup 为 iPhone 和 iPad提供了 STPopupController UINavigationController 弹出的风格。
特性:
- Extend your view controller from UIViewController, build it in your familiar way.
- Push/Pop view controller in to/out of popup view stack, and set navigation items by using self.navigationItem.leftBarButtonItem and rightBarButtonItem, just like you are using UINavigationController.
- Support both "Form Sheet" and "Bottom Sheet" style.
- Work well with storyboard(including segue).
- Customize UI by using UIAppearance.
- Auto-reposition of popup view when keyboard is showing up, make sure your UITextField/UITextView won‘t be covered by the keyboard.
- Drag navigation bar to dismiss popup view.
- Support both portrait and landscape orientation, and both iPhone and iPad.
预览
以上是关于分享iOS功能界面漂亮的弹出框的主要内容,如果未能解决你的问题,请参考以下文章
iOS 9.3 beta 版的Safari弹出框竟如此安卓?