iOS 弹出视图:STPopup

jopen 9年前

STPopup 提供了 STPopupController, 它在弹出风格上可以像 UINavigationController 一样,可用在 iPhone 和 iPad。

特性:

  • 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.
  • 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 弹出视图:STPopup

项目主页:http://www.open-open.com/lib/view/home/1442544398352