Jump to content

CydiaSubstrate and Theos Question?


Go to solution Solved by Rook,

3 posts in this topic

Recommended Posts

  • Solution
Posted

So, first of all.

Use this Template to simplify the process.

 

Then, once you start your project, inside /@@PROJECTNAME@@/Resources/@@PROJECTNAME@@.plist:

<dict>
			<key>cell</key>
			<string>PSSwitchCell</string>
			<key>default</key>
			<true/>
			<key>defaults</key>
			<string>@@PACKAGENAME@@</string>
			<key>key</key>
			<string>key1</string>
			<key>label</key>
			<string>Switch Text 1</string>
		</dict>
<dict>
<key>cell</key>
<string>PSSwitchCell</string>
<key>default</key>
<true/>
<key>defaults</key>
<string>@@PACKAGENAME@@</string>
<key>key</key>
<string>key1</string>
<key>label</key>
<string>Switch Text 1</string>
</dict>
 
Change the 'false' to 'true' to keep the switch automatically turned on. :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines