以下方法不行
UIViewController* controller = self.view.window.rootViewController;
[picker showBoard];
self.modalPresentationStyle = UIModalPresentationCurrentContext;
[controller presentViewController:picker animated:YES completion:nil];
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你是想做一个弹出提示框吗? 可以使用 MBProgressHUD
效果:
颜色和内容可以自定义。
如果是要这个,我可以再把使用方法追答一下
直接从项目中拷贝过来的代码:
}
弹出的控制器:
LMSUIPresentationController.m
PopViewController.swift