Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to enable iPhone Settings (bundle, plist) in MonoTouch
    text
    copied!<p>I'm trying to get the <strong>iPhone Settings</strong> working in a <a href="http://conceptdev.blogspot.com/2009/08/monotouch-isoflair.html" rel="noreferrer">small test app</a> I'm writing using MonoTouch/MonoDevelop. It's probably super basic/fundamental in Xcode...</p> <p>...however I didn't immediately see how to do it in the MonoTouch examples, and after a bit of reading guessed that a <code>Settings.bundle</code> folder in the root of my MonoDevelop solution that contained a <a href="http://conceptdevelopment.net/iPhone/iSOFlair01/root.plist.htm" rel="noreferrer"><code>root.plist</code></a> xml file should work.</p> <p>It <em>kinda</em> did - my app now <em>appears</em> in the <strong>Settings</strong> window - but the actual inputs don't show up. I've tried a few different things in the <code>plist</code> (from google &amp; Beginning iPhone Development book) but no luck so far.</p> <p>Can someone point out what I've missed: either a step in the MonoTouch solution/build process or errors the format/content of my <code>root.plist</code> file?</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt; &lt;plist version="1.0"&gt; &lt;dict&gt; &lt;key&gt;Title&lt;/key&gt; &lt;string&gt;iSOFlair&lt;/string&gt; &lt;key&gt;StringsTable&lt;/key&gt; &lt;string&gt;Root&lt;/string&gt; &lt;key&gt;PreferenceSpecifiers&lt;/key&gt; &lt;array&gt; &lt;dict&gt; &lt;key&gt;Type&lt;/key&gt; &lt;string&gt;PSTextFieldSpecifier&lt;/string&gt; &lt;key&gt;Title&lt;/key&gt; &lt;string&gt;User Id&lt;/string&gt; &lt;key&gt;Key&lt;/key&gt; &lt;string&gt;soUserId&lt;/string&gt; &lt;key&gt;AutocapitalizationType&lt;/key&gt; &lt;string&gt;None&lt;/string&gt; &lt;key&gt;AutocorrectionType&lt;/key&gt; &lt;string&gt;No&lt;/string&gt; &lt;/dict&gt; &lt;/array&gt; &lt;/dict&gt; &lt;/plist&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload