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 713 Views 2 Watching
  • 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 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
    • shavS Offline
      shavS Offline
      shav
      wrote on 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

      • Login

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