Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
TrueTone and disabling it programmatically
-
I've been working a lot with private libs and this one has stumped me.
THe way true tone overriding works is on the Info.plist as defined at https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW31I want to be able to make it so I can change this during the runtime (sometimes i notice flickers of true tone turning off which is probably an iOS issue)
-
The
Info.plist
is just a file, there's nothing you can modify or hook into directly to change its values after it's been loaded. I don't think an app'sInfo.plist
is kept anywhere in nested array/dictionary form, and even if it is, most likely iOS will only read the value from there once and store it in a private property/ivar/whatever for quicker access. So if you want to modify anInfo.plist
setting at runtime, you'd probably need to find where its value is stored internally, and modify that.