-
Notifications
You must be signed in to change notification settings - Fork 452
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
addPickerToView:样式错乱 #309
Comments
已修复,请更新到最新版本进行使用 |
多谢,博主,如果有时间的话是否可以更新一个新的样式“年月日周、时、分、秒”这样四列滚轮样式 |
针对需要显示星期的场景,可以配合设置 代码
效果 |
我知道这样可以,可是我这边想要做的是第一个滚轮是年月日周,第二个滚轮是时,第三个是分,第四个是秒。
990073834
***@***.***
…------------------ 原始邮件 ------------------
发件人: "agiapp/BRPickerView" ***@***.***>;
发送时间: 2024年5月28日(星期二) 下午3:35
***@***.***>;
***@***.******@***.***>;
主题: Re: [agiapp/BRPickerView] addPickerToView:样式错乱 (Issue #309)
针对需要显示星期的场景,可以配合设置 datePickerView.showWeek = YES; 来达到类似的效果
代码
BRDatePickerView *datePickerView = [[BRDatePickerView alloc]init]; datePickerView.pickerMode = BRDatePickerModeYMDHMS; datePickerView.showWeek = YES; datePickerView.resultBlock = ^(NSDate *selectDate, NSString *selectValue) { }; [datePickerView show];
效果
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
有设计稿吗,一般很少有这种使用场景。特殊场景要么使用多个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
`// 3.创建选择器容器视图
UIView *containerView = [[UIView alloc]initWithFrame:CGRectMake(30, 170, self.view.frame.size.width - 60, 200)];
containerView.backgroundColor = UIColor.redColor;
containerView.autoresizingMask = UIViewAutoresizingFlexibleWidth;
[self.view addSubview:containerView];
The text was updated successfully, but these errors were encountered: