Monday, October 12, 2026
HomeiOS Developmentios - A number of time pickers on one display screen make...

ios – A number of time pickers on one display screen make app freeze on telephones with iOS15+ solely

[ad_1]

The backend of this app was made with ExtJS. The frontend is Goal-C, the place the webpages are displayed with a WKWebView. It’s legacy, and there’s no documentation or individuals with information or expertise inside the firm concerning the app.

My app freezes after I choose a brand new time picker.
I’ve a number of (4) native time pickers on one display screen, that are displayed in an online web page by means of WKWebView.
At any time when the person closes the picker by deciding on the display screen wherever however on the picker, and selecting one other one of many remaining three comparatively shortly (inside 1 second), the app freezes.

The app won’t freeze:

  • When the identical date picker is chosen.
  • When the person selects ‘Carried out’.
  • When the person waits 1 to 2 seconds earlier than deciding on a brand new time picker.

The time pickers work effective on any system older than, however not together with, iOS 15.
On iOS 15 and above, the freezing solely happens when the OS is iOS (cellphone), however by no means on iPadOS.

I’ve tried setting definesPresentationContext to true, however to no avail.

I couldn’t discover some other builders with this type of problem on the web, which is why im resorting to StackOverflow.

The error that arises:
[Presentation] Try to current <_UIDatePickerContainerViewController: 0x15303b6e0> on <ViewController: 0x150d068f0> (from <ViewController: 0x150d068f0>) which is already presenting <_UIDatePickerContainerViewController: 0x150e16650>.

So my query is, is there anybody else that has skilled freezing due to time pickers on iOS15+ with telephones solely?

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments