Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何设置 UIPicker 时区?
我有一个具有动态时区的应用程序,但是当我更改时区时,pickerview 时区不会改变,当我选择一个日期时,显示将具有选定的时区,但它显示的与 pickerview 不同。
帮助...
我弄清楚了这段代码。
[mDatePicker setTimeZone:[NSTimeZone defaultTimeZone]];