开发者

Changing the picker view AM/PM into chinese

开发者 https://www.devze.com 2023-03-21 01:18 出处:网络
In my app i\'m using the time picker for setting the time.It is working fine.But when i am changing the region format into chinese the picker view is changing but the i cant roll the minute bar.How to

In my app i'm using the time picker for setting the time.It is working fine.But when i am changing the region format into chinese the picker view is changing but the i cant roll the minute bar.How to slve this i开发者_C百科ssue.please help.

Changing the picker view AM/PM into chinese


I got the bug fixed. The problem was with the IBOutlet.When we shrink the size of picker the rolling bar of hour will not work properly.


Did you try to set US(or any other with "AM/PM" time format) locale explicitly to UIDatePicker's locale property?

0

精彩评论

暂无评论...
验证码 换一张
取 消