Hi I am trying to show a large amount of static text within the applications settings on the iPhone. I have seen an iPhone app accomplish this and I am trying to achieve the same result. The goal being if the user navigates to the applications settings page, and they can view the terms and conditions.
Any pointers? I can show a Title or MultiValue strings - but these only allow short strings to display. Ideally it should open a full page formatted perhaps with HTML - or line breaks.
I would like this to be available from the iPhone settings for the app (outside of the app iteself). Presumably using the settings bundle & Root.plist.
Thanks Rog - i used iExplorer to look at the Settings.bundle file in the purchased app that had this working: It is complex but here is how it is laid out.
Root.plist:
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Terms & Conditions</string>
</dict>
<dict>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
<key>Title</key>
<string>Your Terms heading</string>
<key>File</key>
<string>Terms</string>
</dict>
Terms.plist
<dict>
<key>StringsTable</key>
<string>Root</string>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Terms1</string>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Terms2</string>
</dict>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Terms3</string>
</dict>
</array>
</dict>
en.lproj/Root.strings
"Terms1" = "iPhone Application Terms";
"Terms2" = "These terms blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah ";
"Terms3" = "The blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah .";
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With