A for Alpha
A for Alpha

Reputation: 2912

UIDatePicker not displaying properly in iOS 9

I am NOT using auto layouts and this is how the UIDatePicker is appearing in my app on iOS 9. The picker is looking flawless in iOS 8 but the problem is only with iOS 9. Any idea how to resolve this.. (P.S using auto layouts in not a solution at the moment for me.)

enter image description here

Upvotes: 4

Views: 781

Answers (1)

Meet Doshi
Meet Doshi

Reputation: 4259

In the viewDidLoad() method, change a property of the date picker, for example the mode. Note that, You don't have to leave it changed, you can set it to anything and then change it back to what you actually want.

I am sure, this solution is helps you.

Upvotes: 2

Related Questions