导航上的控件 怎么设置uipopoverpresentationcontroller的位置

2025-05-07 22:56:58
推荐回答(1个)
回答1:

回顾UIPopoverController的使用,下面这份代码只能在ipad下运行 // 初始化控制器,SecondViewController类继承自UIViewController SecondViewController *vc = [[SecondViewController alloc] init]; // 把vc包装成UIPopoverController UIPopove