iOS 彈出視圖:STPopup

jopen 9年前發布 | 15K 次閱讀 STPopup iOS開發 移動開發

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.baiduhome.net/lib/view/home/1442544398352

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!