Adding Privacy Policy page into app settings on iOS [duplicate] - ios

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.

Related

Opening specific iOS settings page using React Native's Linking function [duplicate]

This question already has answers here:
Link to app manage subscriptions in app store
(10 answers)
Closed last month.
Out of all the other posts about this topic I still fail to find how to properly execute this.
I have many apps from the iOS App Store that has button to "Manage my subscription" which links directly to Settings -> iCloud -> Subscriptions page.
I'm trying to use React Native's Linking function to do so ie.
import { Linking } from 'react-native';
Linking.openURL('App-prefs:root=APPLE_ACCOUNT&path=SUBSCRIPTIONS');
But it only opens the main Settings page. I tried several different URLs to test if I could open other pages of the Settings app without any luck. (Got the Settings app's URLs from https://github.com/FifiTheBulldog/ios-settings-urls)
I read in a few posts that I need to tweak my XCode project's settings to add a custom URL handler but those answers seem outdated. I have also read that my app could get rejected because of this but as I said, I have many apps that I use that does specific pages of the iOS Settings app so I don't think it's a problem for Apple.
I'm looking for a definitive answer to this.
For iOS 14 and over the URL format has changed. The root= part should be removed.
For iOS 14 the new format is:
Linking.openURL('App-prefs:APPLE_ACCOUNT&path=SUBSCRIPTIONS');
And for iOS 13 the format was:
Linking.openURL('App-prefs:root=APPLE_ACCOUNT&path=SUBSCRIPTIONS');
Found the answer in this comment here: Opening the Settings app from another app

Add value to App-Info.plist after deployment [duplicate]

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.

Dynamically linked library under iOS AppStore [duplicate]

This question already has answers here:
Can you build dynamic libraries for iOS and load them at runtime?
(3 answers)
Closed 9 years ago.
I want to use dynamically linked libraries in my iOs app. My problem is that I read that I can use only static libraries. I searched about that on official Apple web side but I cant find anything about this. Can someone point me the link to official Apple information that says I cant use dynamically linked library in my iOS project?
Apple only allows dynamically linked libraries in Mac apps, currently they are disallowed on the iOS app store.
edit: Scroll to the bottom here https://developer.apple.com/library/ios/documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/iPhoneOSFrameworks/iPhoneOSFrameworks.html#//apple_ref/doc/uid/TP40007898-CH6-SW3
to see Apple's official stance.

Open one App from another programmatically [duplicate]

This question already has answers here:
Launch an app from within another (iPhone)
(14 answers)
Closed 6 years ago.
We have a standard SAP BI App and we don't have the code for that and our company purchased it for our internal use and now my PM has asked me to open SAP BI App from our custom App programmatically and I have done it using url scheme's and then I am facing the problem he wants me to open our custom App automatically when ever the user clicks on a specific button in standard SAP BI App for which I don't have any code.
Is it possible to open my custom App from SAP BI App.
The only way to open an app from other app is to enable it in the code of the app you want to be opened. If that app dones't provide a URL scheme to open it, you can't'
Read more here:
Launch an app from within another (iPhone)
URL Schemes are the only way to communicate between apps.Apps that support custom URL schemes can use those schemes to receive messages.For example, an app that wants to show an address in the Maps app can use a URL to launch that app and display the address.
and Here is something useful that i found related
You'll need set a custom URL scheme in your second app for that. Check this tutorial or simply do a search with "iphone custom URL schemes". There's a lot of good tutorials.

How to get listed in the share menu?

I'm creating a messaging app and I would like to enable other apps to share text to my app via the share menu option.
How do I get my app listed in there?
This is the menu I would like to get listed in:
In iOS 8, Apple has now enabled a way for you to add your application to a user's Share Sheet as one of many features of Extensibility, which aims to make your app available to the user even when closed.
You can read a lot more about share extensions here, or go straight to Apple's pre-release documentation to dive into the code.
Update: Above link of Apple documentation is not working, check here App Extension Programming Guide: Share
You can do this by adding a few entries into your apps info.plist.
Here's a post that should answer this for you.
slashdot post
also here another link
You can't automatically be added to the UIActivityViewController in other apps. The only things that appear on that "share menu" are a few predefined apps that Apple has added support for, as well as any other app specific activities an app decides to add.
You can setup your app to appear in a list of apps for opening a file but that is not the same as what you are asking for here.

Resources