I have a number of them in my app. I've attached the plist below. Just to be 100% clear, this is in a FOLDER called Settings.bundle, in a file called Root.plist (capital letters in the right place, if it makes a difference - I'm not sure, but the iOS filesystem IS CASE SeNsItIvE)
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>PreferenceSpecifiers</key> <array> <dict> <key>DefaultValue</key> <false/> <key>FalseValue</key> <string>NO</string> <key>Key</key> <string>IsDebug</string> <key>Title</key> <string>Debug Logs</string> <key>TrueValue</key> <string>YES</string> <key>Type</key> <string>PSToggleSwitchSpecifier</string> </dict> <dict> <key>DefaultValue</key> <string>YES</string> <key>FalseValue</key> <string>NO</string> <key>Key</key> <string>ShowBankAccounts</string> <key>Title</key> <string>Show Bank Accounts</string> <key>TrueValue</key> <string>YES</string> <key>Type</key> <string>PSToggleSwitchSpecifier</string> </dict> </array> </dict> </plist> On Mon, May 21, 2012 at 6:27 AM, Felix Collins <[email protected]> wrote: > I too am suffering this problem. Did anyone work it out? I've been through > the tutorials at > http://conceptdev.blogspot.co.nz/2009/08/monotouch-settingsbundle.html > and > http://adtmag.com/Articles/2010/04/13/Working-With-Application-Settings-In-Monotouch.aspx?Page=2 > > I've triple checked all my capitalisation. I've tried various permutations > of the project settings. I've edited the plist in monodev, xcode and > dashcode and it all looks fine. I've reset the simulator and rebuilt my > entire project. I've tried debug and release on simulator and device. > Nothing appears in the settings dialog apart from the monotouch Debug > settings.... > > my plist file... > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>Root</key> > <dict> > <key>Title</key> > <string>AppSettings</string> > <key>StringsTable</key> > <string>Root</string> > <key>PreferenceSpecifiers</key> > <array> > <dict> > <key>Key</key> > <string>resetcacheddata</string> > <key>Title</key> > <string>Clear Cached Data</string> > <key>Type</key> > <string>PSToggleSwitchSpecifier</string> > </dict> > </array> > </dict> > </dict> > </plist> > > any further ideas to try welcomed... > > Felix > > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Problem-adding-settings-to-my-app-using-root-plist-tp3829248p4647748.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch -- Nic Wise t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise b. http://www.fastchicken.co.nz/ Earnest: Self-employed? Track your business expenses and income. http://earnestapp.com Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p mobileAgent (for FreeAgent): get your accounts in your pocket. http://goo.gl/IuBU Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2 _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
