UIDatePicker not showing correctly in iOS 9

I DO NOT use automatic layouts, and this is how UIDatePicker appears in my application on iOS 9. The collector looks flawless in iOS 8, but the problem is only in iOS 9. Any idea how to solve this problem. (PS using automatic layouts is currently not for me.)

enter image description here

+4
source share
1 answer

In the viewDidLoad () method, change the date picker property, for example, mode. Note that you do not need to leave it changed, you can set it to anything, and then change it to what you really want.

I am sure this solution will help you.

+2
source

All Articles