Skip to main content
Inspiring
November 24, 2011
Question

Can I create an iOS app settings menu for an AIR application? (Settings bundle / NSUserDefaults)

  • November 24, 2011
  • 1 reply
  • 2451 views

If you tap the Settings icon in the iPad/iPhone and scroll down in the left column, you'll see some application icons (Skype, for example) that when clicked offer user settings.

Is it possible to do that for an AIR application? How do I add that application settings menu icon there and how do I access that from code?

I've read it's called "settings bundle" and it's accessed through NSUserDefaults, but I'm not really sure.

Is this possible from AIR or would it be necessary to access that through a Native Extension?

Thanks for your help.

This topic has been closed for replies.

1 reply

Innovatology
Participating Frequently
December 5, 2011

Bump!

OMA2kAuthor
Inspiring
December 6, 2011

I've finally found the answer in this book:

http://www.amazon.com/gp/product/0470622040/ref=as_li_ss_tl?ie=UTF8&tag=whevmemuha-20&linkCode=as2&camp=217145&creative=399369&creativeASIN=0470622040

The whole chapter 16 is devoted to "Creating Application Settings". It basically involves manually creating some XML files in Windows or generating them with XCode in Mac.

Innovatology
Participating Frequently
December 6, 2011

Thanks for the tip!