Calendar no opening with selected month

The Calendar of Date picker is not show the select month instead shows a pervious month calendar on first time open

Below is the code:

CGRect frame = CGRectMake(0.0, 0.0, 96.0, self.stdUTCDateField.layer.frame.size.height);   self.stdUTCDateField.subviews[0].layer.frame = frame;   self.stdUTCDateField.contentHorizontalAlignment = UIControlContentHorizontalAlignmentFill;   NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_GB"];   NSTimeZone *timezone = [[NSTimeZone alloc] initWithName:@"UTC"];   NSDateFormatter *formatter = [[NSDateFormatter alloc] init];   [formatter setDateFormat:@"ddMMMyyy HHmm"];   [self.stdUTCDateField setLocale:locale];   [self.stdUTCDateField setTimeZone:timezone];

Date set was in UTC e.g 2023-03-09 23:45:00 UTC

Answered by Frameworks Engineer in 747370022

This is a known issue with UIDatePicker and will be addressed in the future.

Accepted Answer

This is a known issue with UIDatePicker and will be addressed in the future.

Is there any alternative for UIDatePicker

@andyl_ this issue fixed in iOS 16.4 version??

Calendar no opening with selected month
 
 
Q