Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果希望在屏幕中央弹窗展示一个选择器需要怎么使用? #220

Open
szmichaelyb opened this issue Jan 19, 2021 · 1 comment

Comments

@szmichaelyb
Copy link

大佬,您好,有一个业务场景:希望在屏幕中央弹窗展示一个选择器需要怎么使用?

@agiapp
Copy link
Owner

agiapp commented Jan 19, 2021

使用如下方法:

/// 扩展一:添加选择器到指定容器视图上
/// 应用场景:可将中间的滚轮选择器 pickerView 视图(不包含蒙层及标题栏)添加到任何自定义视图上(会自动填满容器视图),也方便自定义更多的弹框样式
/// @param view 容器视图
- (void)addPickerToView:(UIView *)view;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants