omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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

    Pythonista
    2
    2
    2346
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scj643
      scj643 last edited by

      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)

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Powered by NodeBB Forums | Contributors