This is easy. Just follow the steps below and you will be over in less then minute.
- Launch iTunes on your Mac.
- Search for the item you want to link to.
- Right-click or control-click on the item’s name in iTunes, then choose “Copy iTunes Store URL” from the pop-up menu.
- The returned URL is an itunes.apple.com link. However, iPhone requires phobos URLs for direct linking to the App Store.
- Therefore, you must replace itunes with phobos in the returned URL.
- Open the modified URL using an NSURL object and the -[UIApplication openURL] method.
1.
- (IBAction)appStoreLink {
2.
3.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@
"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=301349397&;amp;amp;amp;amp;mt=8"
]];
4.
5.
}
Now when you press button linked with appStoreLink IBAction, App Store application will open and you will see Divine Office application. That’s all.