Dialog showing problem in IPhone 12 and above.. and not a problem on Simulator or IOS.
-
Hello
A very peculiar problem that few of my clients trying to run my App on IOS reported... the App not working on IPhones 12 and above.
Testing environment: XCode 14, Qt 5.15.2
To test that problem, I created a very simple app QtWidgets app. One Mainwindow and another Dialog..
2 push buttons on the mainwindow
one push button calling the Dialog...
For an example program, refer to this link for my similar post earlier.
https://forum.qt.io/topic/97730/problem-with-qmessagebox-with-ios-application-becomes-unresponsive/2
As soon as the push button is pressed, the app becomes unresponsive.
Till now, I found only one post which is talking something similar.
https://forum.qt.io/topic/133619/ios-while-updating-feeds-touch-events-to-quiwindow-weirdnessThis app does not work on the IPhone 13 which i had to buy just for testing this problem.
IOS 15.7 is the OS installed on Iphone 13. Same IOS 15.7 installed on Iphone 6, and the App works well. Same IOS 15.7 installed on Ipad Pro(2017) and the App works well.
Same App also works well on the Iphone 13 or 14 in Simulator.When the App is unresponsive, I dont get any error messages or any indication of the problem, neither in XCode nor in Qt.
When i try to run this simple App from Qt 6.3.1, I get an error "error build: Command Ld failed with a nonzero exit code" and the Build does not succeed either for Simulator nor for the device. Hence testing on this Qt version was not possible.
Very confusing problem.. dont know whether the problem is related to the Operating System, Qt, XCode or the newer devices.. When talking about Android, usually the problem is with the OS permissions or changes in the new versions of OS. Here, the App works well for the same OS version on older device and does not work on a newer device.
Not tested yet on a new IPad.