文章来源:淘论文网   发布者: 毕业设计   浏览量: 24



还可以点击去查询以下关键词:
[更好]    [交互]    [方式]    [一种更好交互方式]   

项目介绍:

Translation to STPopupOverview

There are two ways to provide,formSheet、bottomSheet,and you can customize backgroundView.
You just need to touch the bar and then move down to close.

Installtion

Cocoapods

pod MTPopup

Carthage

github 'huangboju/MTPopup'

Usage

BottomSheet

`github 'huangboju/MTPopup'` # Usage * **BottomSheet**

class YourController: UIViewController {

override func viewDidLoad() {

class YourController: UIViewController {

override func viewDidLoad() { super.viewDidLoad() contentSizeInPopup = CGSize(width: 300, height: 200) landscapeContentSizeInPopup = CGSize(width: 400, height: 200) }

}

let popupController = MTPopupController(rootViewController: YourController())
popupController.style = .bottomSheet // Default is formSheet
popupController.present(in: self)

* **Custom backgroundView**

swift
let popupController = MTPopupController(rootViewController: YourController())

let blurEffect = UIBlurEffect(style: .dark)
popupController.backgroundView = UIVisualEffectView(effect: blurEffect)
popupController.backgroundView?.alpha = 0.8
popupController.present(in: self)

github地址:
https://github.com/huangboju/MTPopup
论文开题报告


这里还有:


还可以点击去查询:
[更好]    [交互]    [方式]    [一种更好交互方式]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/7414.docx
  • 上一篇:MCDownloade定制r iOS下载器
  • 下一篇:iOS App动态获得新字体