We have a very old mobile app for iOS made in Ionic 3 with Cordova 5.
Before iOS 16 everything works well, but now I have a very strange behaviour for SVG icons.
Browsing the app’s pages, the SVG icons sometimes are not completely rendered.
When executed as web application or runned in the XCode simulator the problem does not appear. It is only shown in the iOS device.
Same web app executed inside Safari in iOS 16 device shows well the SVG images. So I think the problem is related to the particular format of SVG inside Ionic/Cordova app.
I’ve used a very simple SVG image that didn’t have problem in iOS 16 native app. So something in the SVG format breaks Ionic/Cordova view.
when executed in XCode (on the device) I see this error (but I think isn’t related): BUG IN CLIENT OF UIKIT: Setting UIDevice.orientation is not supported. Please use UIWindowScene.requestGeometryUpdate
I think it’s a problem of the <ion-card> or <ion-grid> refresh. I tried to change some background to understand better and sometime the refresh problem is evident.
Please look at the post on Stackoverflow for the code and images that show better the behaviour.