Safari App takes user to Settings App in iPhone in iOS 6. How can this be done in my iPhone app? -


i had requirement redirect user ios settings application within application. know in ios 5, use following url scheme achieve this: prefs:root=general.

and use following line of code:

[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:@"prefs:root=general"]] 

but apple no longer supports open url scheme since ios 5.1 update.

but have noticed that, in appstore app , safari browser etc, apple let happen.please refer attached image apple shows alert. , on clicking settings button, user taken settings app. idea, how done. believe if can done in app store application, there should way can in application also. please comment if has fix, or more idea on how can done.

enter image description here


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -