iOS: Open Settings app Programmatically as Youtube app does - objective-c

As we know Apple disabled this feature in iOS 5.1 and later:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"prefs://"]];
that allowed users launch for ex Settings app from any apps.
I'm wondering how YouTube iPhone app does it? Because it can still launch Settings app from it's application with iOS 5.1 and later.
Maybe there is no solution but, I just wondering about the way, YouTube app developer found :))

The YouTube app developer is Apple. They're not subject to the same rules as the rest of us.
Updated since someone kindly downvoted this four-year-old answer and brought it to my attention: you can now do this by opening a URL made from the UIApplicationOpenSettingsURLString string constant.

I don't really get a response for this question but can bring an argument to the discussion.
The RunKeeper app is able to launch the iphone pref app on iOS 6.1. I don't know how it makes that but you can verify by disabling the iPhone GPS location service and then go to the RunKeeeper. Sometimes, the app is able to allow you launching the iPhone Pref app by a Settings button in an alert view.
I don't think the RunKeeper developers have specific privileges from Apple.

Related

AppStore Connect - Is IDFA gone?

I'm uploading a new build of my iOS app and as always, I was going to check the IDFA options but I can't find them anywhere! Did something change?
It seems after requirement that apps use IDFA must ask users permission, Apple doesn't ask developers to select whether app use IDFA in App Store connect anymore.
So just submit app and don't care about it. I have submited an app successfully.

Push notification in adobe air (android and ios) with urbanairship/parse

I am looking for a solution or a guideline for one that will enable me to register to one of the big services that enable push notification.
I know that it will be easier in IOS http://www.adobe.com/devnet/air/articles/ios-push-notifications.html
I have problem with it android even though I successfully send a push notification to android. but without registration like explained Heading here.
http://afterisk.wordpress.com/2012/09/22/the-only-free-and-fully-functional-android-gcm-native-extension-for-adobe-air/
Could someone direct me to a solution
Thanks

PIN authentication on iOS app and then listing all ios apps

I want to list all my published iOS apps list on my main ios app .
My main iOS app will perform like this: First screen will ask to enter PIN (an authorization code, user will have this code from my other web url ) after validation, next screen will show all published app (published from my developer a/c) of iTunes store. apps will be a free type category, if user click on any specific app, the itunes app should be launch to download that app on device.
Could some one please suggest me , is there any violation of Apple's rule to show my apps in this way authentication to my customers? Will apple reject my app?
Although i was trying to understand a search API of iTunes
http://www.apple.com/itunes/affiliates/resources/documentation/itunes-store-web-service-search-api.html
Thanks a lot,

Objective c Facebook

I am developing an application that posts in IOS Facebook wall.
I'm using SDK Facebook.
My problem is if I have installed Facebook on my iPhone, when I call the permissions, it calls the Facebook app.
If i uninstall the facebook app, the authorization opens inside my application.
There's a way to open inside my application even with the Facebook app installed?
This is really not recommended because it is less secure and more of a hassle for users. However it is still currently allowed for the time being. In the Facebook.m file, change authorizeWithFBAppAuth to NO and safariAuth to NO:
[self authorizeWithFBAppAuth:NO safariAuth:NO]

Can I enable my App for AirPlay?

If I create my own custom Application for iOS (XCode/Objective-C), can I make it support AirPlay and beam scren content of my choice to an Apple TV?
What APIs/Function Calls am I looking for?
The idea behind the AirPlay support is to play the video content from your app.
If you're a registered iOS Developer, you will be able to find the documentation and examples at the iOS 4 beta section after you login. As this is still a beta release for 4.3 version, documentation is under confidential agreement.
It's pretty much easy and straightforward. You should start looking by MPMoviePlayerController.