This question already has answers here:
Editing Info.plist possible programmatically?
(3 answers)
Closed 7 years ago.
Is there a way to add (or update) a value to my App's info.plist dynamically (eg from data from a server)?
For example adding or changing the FacebookAppID and the corresponding facebook url scheme dynamically while an app is live.
Info.plist is part of your app bundle, which is read only.
But even if you could, not a good idea.
Related
This question already has answers here:
iOS Accessibility: Custom voice over text for bundle display name
(2 answers)
Closed 3 years ago.
I have a SiriKit extension for my iOS app and I want it to pronounce the app name differently. For the sake of this question let's say the app's name is 'POP'. While Siri pronounces it as the word 'pop', I want it to pronounce it as 'Pee Oh Pee'. Does anyone know if this is possible?
I have tried using the INAlternativeAppNames item in the plist but this seems to only affect what Siri hears and interprets as my app name.
The key you want is CFBundleSpokenName.
CFBundleSpokenName
CFBundleSpokenName (String - iOS, macOS) contains a suitable replacement for the app name when performing text-to-speech operations. Include this key in your app bundle when the spelling of your app might be mispronounced by the speech system. For example, if the name of your app is “MyApp123”, you might set the value of this key to “My app one two three”.
This key is supported in iOS 8 and later and in macOS 10.10 and later.
This question already has answers here:
best way to add license section to iOS settings bundle
(11 answers)
Closed 4 years ago.
I want to add my Privacy Policy, Terms of Use etc. pages into the app's settings page, which is located in OS's Settings app. (ex: News app's settings have a policy page in its own settings on iOS 12 Beta)
I have 2 questions about this approach.
1. Is it a good approach? Not only for policy pages, I want to locate every in-app settings in here.
2. How can I do that?
Thank you.
EDIT: According to docs I cannot add a controller or an UITextView into App Settings.
https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UserDefaults/Preferences/Preferences.html
There are the answers for your questions.
Yes it is a good approach.
You can do it by using UIWebView or in UITextView as well.
This question already has answers here:
How to localize bundle display name in iPhone app?
(6 answers)
Closed 5 years ago.
I'm trying to find the easiest way to localize my app. I'm using sqlite, so I need basically only to switch my database name. Problem is the app name - can it be localized from code or I have to make x apps for x languages, so anyone will have app name in his/hers native language? The latter one seems like already rejected app to me... anyone?
I assume you mean the Bundle Display Name that appears on the device's home screen:
You should create a localized file called InfoPlist.strings similar to the Localizable.strings file that you use for the usual text snippets.
In the InfoPlist.strings you can localize the different keys from your Info.plist. To localize the app name add:
"CFBundleDisplayName" = "My localized app name";
To localize a file: Simply create a new strings file in Xcode. Then reveal the right Xcode pane and add localizations via the menu shown here:
Using this technique you can localize any file you like. Simply add the correct version to your bundle. If you then use [[NSBundle mainBundle] pathFor... you will automatically get the path to the correct localization. We do this for sqlites, strings and sometime even images.
This question already has answers here:
Open Flickr From Third Party iOS App
(3 answers)
Closed 9 years ago.
I checked the plist of the flickr app and it lets me open it with the url handler
flickr://
but what is the argument to open a specific profile page? I can't find any documentation for that...
Thanks
You should look at my answer here:
Open Flickr From Third Party iOS App.
Unfortunately, Flickr didn't add this option.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
fetch pdf from iBooks to my app
I need to list the files that are in iBook directory.
What is the iBook files/documents path(directory) in the iPad device?
This isn't possible. For security purposes apps are not allowed to touch each other's document directories.