Settings entry without settings bundle IOS - ios

Is there any steps to create settings entry without settings bundle.
When I searched how to add my app to settings app in ios, i found that we need to add settings bundle. I also found some project that get added to settings app without settings bundle. how it is done?
If we register for push or VOIP notification, do the settings entry automatically get created?
Thank you,

Yes your app automatically will display in setting app for different permission like camara,photolibrary,location,microphone etc. Whatever functionality you will used your app add that category in setting app.
So, if you implement VOIP or push notification(for example successfully register for notification) then setting app will show settings about that also.

Related

Wrong application name in PUSH NOTIFICATIONS | ios SWIFT

so i was changing the details of an already built ios app and i have changed all the strings etc to change the name of the app, but when the applications gives notification(apple push notifications), it still shows the old app name not the new one. I have also changed the bundle display and bundle package name to the new app name but still not luck. I also tried cleaning build folder and restarting both my mac and the phone.
In the notification, it displays new name and old name as well, this is very weird.
Please refer to the image below.
Comments from the people above are correct. The Bolt data is from your server. The same with your content. So talk to your server/backend guy or do it your self. Also there's a way to somehow handle that.
You can catch the title, the content, and the image (for rich push notification) by adding Notification Content Extension and Notification Service Extension in your project. That would require a bit of work though. I hope this helps!
Hey I got the answer from apple developer page. Just follow these options:-
Select your Targets
Select your Building Settings
Check the Packaging.
Then check what is the Product Name?
In my case Product Name is the old one.
If still you receive the Old name. So for that case delete the application and install the app now you will receive the New name for the application. No need to right the Notification Content Extension and Notification Service Extension for Push notifications.
For changing app name set CFBundleDisplayName value in info.plist file:
CFBundleDisplayName
New app name here
Name specified in this way would be displayed on device under the app icon.
Push notification service depends on app bundle id CFBundleIdentifier.

Is there is a way to use the default iOS settings screen module to build it inside an app?

I want to build app settings preferences inside my app which should look just like default settings preferences in an iPhone.
Can we display preferences inside the app using default iOS settings bundle?
Is there any default framework to do so?
How does iOS settings bundle work?
According to this: https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html, app have two options for presenting preferences:
1) Display preferences inside the app.
2) Use a Settings bundle to manage preferences from the Settings app.
can iOS settings bundle work for first option?
The settings bundle is used to display customised settings parameters (eg:like app endpoint) in settings screen entry respective to your app. You wont be able to use in anyway the UI screens of settings app inside your own application.

How to add settings in my ios application?

In my application , I need to add settings (turn off advertising , video play , notification and more ). How to control my entire application according to this settings?
Thanks in advance.
Adding Settings inside application:
You can use custom UITableView and NSUserDefaults for creating a custom settings page like that.
Or you can use a third-party control called InAppSettingsKit
Adding Settings in Settings application:
You need to use Settings.bundle for adding the settings to settings application.
Check Implementing an iOS Settings Bundle for more details.

Open iPhone/iPad settings from my app

In my app I have some settings that are accessible within the Setting native app... a normal Settings.bundle file.
The question is "is possible from my application open Settings app to the settings page of my app to facilitate the user experience?"
Thanks.
I didn't realise this wasn't possible as the other answers/comments indicate. But I've been using InAppSettingsKit to mimic that behaviour anyway.
It reads from your Settings.bundle and creates a view controller based on the information.

iOS Application Settings Bundle

Using Apple's Settings bundle in a project, is it possible to expose certain settings to the user only if another setting condition is met?
E.g I have a toggle switch, and if the user toggles the selection to False in the Settings application, I want to show a text box that they can fill in. If the toggle is true, I want to hide the text box.
Any help or pointers to documentation that explain this would be great.
You can find step by step instructions here: Adding a settings bundle to an iPhone App.
Edit:
I did my research and I think you cannot do this in an App Store approved app, because to reach this thing you have to change the settings.bundle file inside the application's bundle, which is not allowed in App Store approved apps.

Resources