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-SW31
I 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)
Info.plistis 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's
Info.plistis 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 an
Info.plistsetting at runtime, you'd probably need to find where its value is stored internally, and modify that.