Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. App prefs in iOS settings app?

App prefs in iOS settings app?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 617 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    patrickkidd
    wrote on 27 Aug 2017, 17:08 last edited by patrickkidd
    #1

    Is there a way to add settings for my app to the iOS System settings app? Or do I need to do this with native code?

    https://alaskafamilysystems.com/

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shav
      wrote on 27 Aug 2017, 17:34 last edited by
      #2

      Hi,

      All you need to add your app to iOS settings is to create a special bundle from Xcode.

      1. Open Xcode app.
      2. File->New->New File
      3. Select iOS tab and find section "Resources".
      4. Select "Settings Bundle" template.
      5. Add settings to your bundle and save it to your Qt project folder.

      In your project pro file a next line:

      app_launch_images.files = $$files($$PWD/Settings.bundle)
      QMAKE_BUNDLE_DATA += app_launch_images
      

      In iOS you can use this settings bundle with NSUserDefaults class.
      For this I'm using objective-c code. So on this step you will need to create a bridge class which will use objective-c code.

      Mac OS and iOS Developer

      1 Reply Last reply
      0

      1/2

      27 Aug 2017, 17:08

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved