![](/img/trans.png)
[英]How can I open xib(ViewController) in xib(ViewController) when I tap Button without Navigation
[英]how can set viewController height when I click the button?
這稱為底部表,我使用此吊艙來實現此目的。 這是鏈接
用法
let storyboard = UIStoryboard(name: "Main", bundle: nil)
let vc = storyboard.instantiateViewControllerWithIdentifier("YourVC") as! YourVC
let controller = SheetViewController(controller: vc, sizes:[.fixed(375)])
present(controller, animated: true, completion: nil)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.