Search code examples
iphonereachabilityinfo.plist

Can I programmatically flip Info.plist values while my application is running?


I am interested in using the SBUsesNetwork and UIRequiresPersistentWiFi keys in my application; however, I would like to enable them only when using a certain set of view controllers. Is there a way to programmatically flip those key values while the application is running?


Solution

  • You can't modify your bundle contents while running, you don't have write access to that directory. I'm not sure there's a way to do exactly what you want.