Open settings in iphone manually [duplicate] - iphone

This question already has answers here:
Opening the Settings app from another app
(18 answers)
iOS Launching Settings -> Restrictions URL Scheme
(13 answers)
Closed 9 years ago.
Is there any way to open Settings in iOS7 manually ?
i am using UIActivityViewController for providing various sharing options, now problem is if user is not already logged in either in Facebook or Twitter then I need to redirect the user to settings screen and let them configure their accounts from there itself, i have no idea that how to open Settings screen manually, If there is any way to do that then please let me know Thanks in advance.

Since iOS 5.1, there is no official way to open Settings via App.

Related

Updating the App icon like Calendar app [duplicate]

This question already has answers here:
Dynamic iPhone App icons?
(4 answers)
Closed 9 years ago.
I'm working on an app where I want the app icon to be updated every month, same way the iOS calendar app is updated everyday.
I guess if this would work it would change to another image that is stored in the app?
Is this possible to do? Been doing some googling but weren't really able to find the answer.
No this is not possible, the app bundle is readonly and there for you can not change the app icon.
You will have to update the app every month the change the icon.
As rckoenes stated it is not possible, and you can read more information about what are the things which can be seen/modifiable run-time for a given running app:
https://developer.apple.com/library/mac/documentation/AppKit/Reference/NSRunningApplication_Class/Reference/Reference.html#//apple_ref/occ/instp/NSRunningApplication/icon
NSRunningApplication is for modify and/or read information on running apps, and unfortunately app icon is read-only.
icon
Returns the icon for the receiver’s application. (read-only)
#property(readonly) NSImage *icon

app launch using custom scheme showing error in safari in ios [duplicate]

This question already has answers here:
Launching app OR app store from Safari?
(4 answers)
Closed 9 years ago.
I tried to launch my native app from safari using custom scheme like myapp://.This is working fine when app is installed, but when app is uninstalled ,safari is displaying: page cannot found popup .My requirement is i need to redirect to some page,let's say apple store.
How to do this?Any suggestions?
Is there any update on this?
You can't, since the app handling the custom URL scheme is no longer available iOS does no longer know how to handle the custom URL.
I faced the same issue and appending a question mark (?) at the end seems to resolve it. It was working fine till ios5 but needs this question mark since ioss 6.
While trying to launch you should say myapp://?parameter1=xyz
Hope this helps.

How to change application icon during installation (after deployment)? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
iPhone - Change app icon pointed to by info.plist within the application?
The application icon should be changed /or/ changing Icon during installation. I have no idea about doing this. Please if anybody know the solution?
Apple do not allow this.
Your app goes to itunes then only you install it. Once it is downloaded and installed from there you can't change it.

Open an iphone app using another app [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Open an application from another (iOS)
I want to open my app using another app (also created by me) on a click of a button if it is installed on iPhone.
How I can do it??
You need to register a custom URL scheme in the Info.plist of the app to be launched. Then in the app that does the launching, you use UIApplication openURL: passing in a URL with your other app's custom URL scheme.
Use the following methods
- (BOOL)canOpenURL:(NSURL *)url;
- (BOOL)openURL:(NSURL*)url;
Where url should be the URL_SCHEME specified by you in the build settings (info.plist) for the app you want to open.

launching two app in iphone sdk? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Launch an app from within another (iPhone)
i want to launch another Application in iphone sdk...for example the user has downloaded two application from appstore.when he touch the button which is in one APplication, Another Application must be opened, current one must be closed..is it Possible?
If the target application has a registered custom url scheme, you can use that to open the other app.
http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
I'm pretty sure the only way you can do this is if the second application registers itself as a handler for some DocumentType, and then the first application handles such a document. The user will be prompted to open the document with the second application. You can read more details here.
You can't just launch applications on behalf of the user, though.
You can register a custom URL Scheme in your Application B, and then open it from your Application A using this custom URL Scheme.
More info here