Open iTunes reviews tab inside the app - iphone

I know there are so many posts talking about this issue. I was trying to do this but didn't get a good result. I can open iTunes inside the app using SKStoreProductViewController, but I can't open the reviews tab directly, and I can do that with the function openURL but I have to leave my app and go to the app store.
Basically my question is if someone know about an app doing that, I would like to know if that's possible, probably you don't have a solution but I just want to know if you saw that before, so I can take a look and try to understand how to do it, probably with a tricky solution (like using UIWebView or something like that, I didnt get a good result with that).
UPDATE:
Im asking for a solution to open iTunes and reviews tab directly WITHOUT LEAVING MY APP.
or
The name of any game doing that, to understand what's doing.
Thanks

This is not possible for IOS 10.2 or lower.
Now iOS 10.3 introduces SKStoreReviewController component to rate the app directly from your app.
https://developer.apple.com/reference/storekit/skstorereviewcontroller

I make this way in my app:
NSString *iTunesLink = [NSString stringWithFormat:#"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=%#&mt=8", ITUNES_CONNECT_APP_ID];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:iTunesLink]];

Related

Access the Apps available in iphone

Hi i would like to access the apps which are available in iphone means downloaded apps and inbuild apps.But here issue is if i access any app which is available in iphone using [[UIapplication sharedapplication]openurl:[NSURl url urlwithstring:#"http://www.skype.com"]] like this i can able to access that iphone app succesfully but if i want to come back to my app i did not find any way only i have to hit homebutton. So is there anyway to come back to my app at any point of time. if anyone know please let me know. Thanking you.
So is there anyway to come back to my app at any point of time.
Not unless the other app supports returning back to the calling app (by responding to a special specifier in the URL, for example).
Note that there is also -[UIApplication canOpenURL:] which will tell you if a particular URL scheme is supported. This is useful to check whether a particular app is installed without attempting to launch it.
That is default behavior of the iOS application. Once your application is in background there is no way to come back to your application programatically.
User has to manually open your application.
You can navigate to some other apps on the phone using the URL method, however you cannot return to your app.
Once you navigate to the other app, it takes over and your app is no longer running. Therefore, the other app would need to navigate back to you. That obviously is not possible, unless you had access to the code of the other app.

in app link to app store app

Just trying to make a button that links in ratings tab in app store but have some problems doing so, found lot of links with itms:// and http:// as prefix but non of them work in simulator could anyone help me?
The simulator has no app store; none of them will work.
You want a link like this:
http://www.itunes.com/app/[appname]
That'll work on the device, but not the simulator. There's another variation that lets you specify the company name, too. The link will go to Safari first, which will a moment later open App Store without the user needing to do anything.
Source: Technical Q&A QA1633 Creating easy-to-read links to the App Store for your applications and company
You can try using a itms+apps style link, like this:
itms+apps://www.itunes.com/app/[appname]
This will skip launching Safari first, and just go straight to App Store. While this currently works, I'm not sure it's documented anywhere. I plan on trying this, and I'll update this answer later if I'm approved.
If what you want is a link directly to the Reviews section for your app's App Store page, you want something like this (replace the id parameter with your own):
itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=393783219&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software
For the main App Store page, use:
http://itunes.apple.com/app/id393783219
And like Steven Fisher said, it won't work on the Simulator.

Launch iPhone Application with Identifier

I'm trying to Launch an application within my App.
For example: If I press a Button in my testApp1, it should Open up testApp2.
Is there any Way to do this with the App Identifier??
I heard something about a undocumented method called launchApplicationWithIdentifier: suspend: but that doesn't work for me, or i'm using it wrong.
I tried this:
[UIApplication launchApplicationWithIdentifier:#"com.test.testApp2" suspend:NO]
But it didn't work.
Better use [[UIApplication sharedApplication] openUrl:]. 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.
I am not sure but i guess launchApplication is used for mac app thats why its showing warning. i will suggest you to create a custom URL and add it to plist file and then later you may launch your app using that url.

Using twitter:// tweetie:// custom scheme on iPhone to open twitter application to a specific user profile

I thought I was familiar with the applications custom schemes used with iOS to trigger applications from my app but I'm unable to use the ones that seems to be provided by the official twitter app (aka tweetie).
I'm trying to open the twitter application directly to a predefined user profile.
From the documentation found here http://handleopenurl.com/scheme/twitter this should be feasible, but this code doesn't work :/ :
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"twitter://user?id=41553213"]];
I also tried with tweetie:// but the same happens : the application launches, but does not "jump" to the given user profile.
Actually, if I try any of the other examples, I don't get anything working :(
twitter://messages
twitter://mentions
none of them are working :(
Any idea why none of those invocations are working ?
Thanks.
N.B:I'm using the last version of the twitter application under iOS 3.1.3 (iphone 3G)
very strange, after removing the application, downloading it again from the appstore, it appears it works ? :O Maybe I wasn't exactly on the very last one ?! At first I thought it was because I had multiple accounts set up, but no, even with that it works now. Strange, but cool.

How do I cause a telephone call to be made in the background in iOS 4.0?

I would like to be able to make a call from within my application, but have it start in the background using the new features in iOS 4.0. I tried using the following code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:#"tel://09650159343"]]]
but this causes a call to be made in the foreground, terminating my application. Is is possible to make a call and have it start in the background?
I'm sorry to tell you that this will never ever work, at least not on a non-jailbroken device.
Even on a jailbroke device this won't work the way you approach the problem. opening an url will always opens the associated application to handle it.
before iOS4 this terminated the application, but now with fast app switching this should make the app in the background if you ask me. But it doesn't, this was forgotten on apple's to do list for iOS4?