iOS Question A problem with webview after updating to iOS16

tufanv

Expert
Licensed User
Longtime User
Hello,

Yesterday I have updated my iphone 12 to iOS 16. One of my apps shows charts in webview. I use hosted builder to build the app. Line charts apperance has changed after updating to ios 16. I will post 2 screenshots with 2 different devices. one running ios 15 other one is 16. I also use
B4X:
#PlistExtra: <key>UIUserInterfaceStyle</key><string>Dark</string>

ios 15:

WhatsApp Image 2022-09-13 at 09.01.55.jpeg


ios 16:

WhatsApp Image 2022-09-13 at 09.50.04.jpeg





Any ideas how to fix it ?
 
Last edited:

tufanv

Expert
Licensed User
Longtime User
Better to upload the images to the forum directly.

I don't see any difference between the images.
Edited the post.

Please check the chart. ios15 has the green line while ios16 has only the dark green area under the line, no line is visible there. Line only gets visible if you click on the webview .
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
I see. We can only guess that Apple has changed something internally. I guess that you are using a JS charts framework. If so then you should check with the developers.
Yes you are right, thats charts.js framework. I will check thanks!
 
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
Yes you are right, thats charts.js framework. I will check thanks!

Thanks @tufanv for the information you shared. Very intersting framework for web developers.
 
Upvote 0
Top