码迷,mamicode.com
首页 > 移动开发 > 详细

【分享】iOS功能界面漂亮的弹出框

时间:2016-02-01 18:20:00      阅读:238      评论:0      收藏:0      [点我收藏+]

标签:

  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功能界面漂亮的弹出框

标签:

原文地址:http://www.cnblogs.com/salam/p/5175440.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!