Does my IOS app contain encryption - ios

I going to be submitting an app to the IOS App Store soon and I'm wondering if my app contains encryption? I used a [[UIApplication sharedApplication openURL:[NSURL URLWithString:#""]]. That code does go out to a secure payment site. Does my app contain encryption?

NO, it doens't.
With that code you are just going out of the app opening a link.
So, it doesn't touch your app.

Related

How can I can make a link open in safari from my mobile app?

In this app I have it so you can donate using paypal but donating directly from the app is against the App Store Review Guidelines. I'm using an app builder because to make this app so I can't directly edit the source code.
While donations may not be taken within an application, you may provide a link to your website that launches Safari for users to make a donation.
What would I need to add on my website that would launch a link in safari on mobile?
you can do it with this code
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"http://www.paypal.com"]];

Kiosk app: downloading an launching in-app (inline) apps in iOS

Lets say you have a sort of a news stand kiosk app where you offer interactive magazines for download. Our newer mags are HTML5-based where we download the individual issues compressed from the server, decompress them and launch them in a (inappbrowser) modal window. Our older mags are basically individual native apps.
Could the older native mags (IPAs) also be downloaded from within the kiosk and launched somehow? Is this technically possible (and allowed at the same time)? Either launching it as a separate process/app or inline i.e. somehow from within the context of a kiosk application? Is that even possible launching an app within an app?
Of course if needed to support the process we could reexport all older apps with correct provisioning, etc. and they (in-apps) would be made available for the review process. Just looking for options on whats technically possible currently.
Thank you!
Assuming:
The older native mags can be downloaded from the AppStore
They each support a different URL scheme (e.g. mymagazine1://, mymagazine2://)
you can do the following:
When the user indicates he/she wants to open magazine 1, evaluate
[[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:#"mymagazine1://"]]
If it is YES, open the app with
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"mymagazine1://"]]
If it is NO, open the App Store app for the specific magazine. This can be done in the same way as described in this question.
You cannot open these apps 'inside' your main app, that is simply not possible.
I'm not sure if Apple will approve these apps though - they could ask you to provide this content via Newsstand.

How to get a list of your iphone apps

How can i get a list of all my iphone apps (even pointers for each app will be helpful)?
I'm developing an app which contain some screen that should have a list of all my installed apps (with their icon) and the option to select one to launch it in the future depends in other function of mine.
Thanks alot!
There's no way to accomplish this, because each app is sandboxed.
You would be able to determine if select apps are installed if they have custom URL schemes. For example, the Facebook app can be launched with the custom url scheme "fb://", but these aren't guaranteed to be unique, so a different app could use a scheme that's well known to belong to another app. Also not all apps have a custom URL scheme, and you would need some master list (that would need to be constantly updated to be accurate) to check for the presence of each. So you could maybe detect a select list of well-known apps with custom URL schemes, but never get a list of all of them.
If you just wanted to detect your own apps, you could have custom URL schemes that are almost certainly going to be unique set for each app, and check for those.
You could also jailbreak your device, but I'm assuming you want this functionality in an app that is distributed on the app store, so you wouldn't be able to add functionality that requires a jailbreak to work.
EDIT:
Here's an example showing detection of the Facebook app being installed:
if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:#"fb://"]])
{
// Handle the Facebook app being installed
}
Note however, this won't give you any information about the app. Any app developer could add the "fb://" custom url scheme to their app, which would make this falsely detect it.
If you want to find lists of custom url schemes for iOS apps, just search in Google.
another way to look at this is to present the user with all of your app in the appstore. If they have any apps installed on their device then in iOS 7 they will see a button called "Open" next to each of them.
For example you can have a UITableViewCell or a UIButton that says "Checkout Our Apps". In the code you would add this.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"itms://itunes.com/apps/sixaxisllc"]];
Replace SixAxis LLC with your iTunes developer name and when users click on it, it will launch AppStore app with only your apps are shown. (With Open or price amount next to each of them)
NOTE: test this on actual device and not in simulator
Because of the Sandboxed environment, all you can do is test if it you can open a custom URL.
Akosma Software maintains a list of popular Url on his wiki: IPhone URL Schemes.

Accessing Settings app values and opening it if needed

I have seen that there are known apps, such as Twitter and Facebook, that display a "Turn Off Airplane Mode or Use Wi-Fi to Access Data" message within an alert view, with a button that switches to the Settings app, when no network is detected as the app goes foreground. This message is the same in all apps where I saw it, is this alert view a kind of predefined one that you can use? Similar to the one displayed when checking locationServicesEnabled...
I found some posts dealing with this issue some time ago, for example:
iOS UIAlertView button to go to Setting App, and it seems (or seemed) to be a way to read the values in the iOS' Settings app, but I couldn't find any of this in the Apple Developer's documentation... is there any public API for accessing those values? Would an app be rejected if accessing them as in the post I linked?
Thanks in advance
Till iOS 5.0, you can use the URL scheme to open the Settings App from third-party apps using the URLScheme like:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"prefs:root=WIFI"]];
Unfortunately, iOS 5.1 and iOS 6 not supports this feature.
You can use the Reachability for checking the Wi-Fi state.
For displaying the default alertview when the Wi-fi is off or in AirPlane mode you can use the Application uses Wi-Fi flag in the info.plist
Refer InfoPlistKeyReference for details:
UIRequiresPersistentWiFi
“Application uses Wi-Fi”
Specifies whether this app requires a Wi-Fi connection.

Custom URL scheme for new Facebook iOS app

Does anyone know what the custom URL scheme is to open a Facebook page in their new iOS app. I was using fb://page/PAGE_ID however this doesn't seem to be working in the recently updated Facebook iOS app, it just opens the app but doesn't go to the required page.
I got this answer at developer.facebook.com:
Replace the word page with profile and it will work. Your new statement will be:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"fb://profile/247377102029332"]];
Use https://graph.facebook.com/YOUR_USERNAME to get your page ID.
In your iOS app use: fb://profile/[your ID] and the facebook app will open to your page.
The URL scheme for the iOS Facebook application is:
fb://profile/(fbid)
Same problem here. fb://page/PAGE_ID is not working anymore.
Note that fb://profile/(fbid) wasn't working properly on Facebook 4.x returning a "corrupted" page in both iPad and iPhone. Instead, fb://profile/(fbid)/wall in Facebook 4.x worked well when using an iPad but didn't work with an iPhone.
fb://page/PAGE_ID was the only option that worked on both iPhone and iPad, based on my experience.
I used to use http://wiki.akosma.com/IPhone_URL_Schemes as reference, but it's currently down...
A custom URL scheme is a mechanism through which third-party apps can communicate with each other. It doesn't allow you the provision to open a page in that particular application. It just fires an event to bring the called Application to the foreground. Going through this documentation would further clear your doubts.
The new Facebook app is built using Objective-C as against previous once in HTML5 which used to support URL scheme mechanism. This link gives a hint on that.
http://techcrunch.com/2012/08/23/facebook-for-ios-faster/

Resources