IOS get AppStore link address, jump from app to AppStore app

Source: Internet
Author: User

Jump from app to AppStore, divided into

1. Get the app's link address in AppStore

Mac opens itunes, enter your app name in the search box in the top right corner.

In the pop-up menu, select the Copy link to get the link address for the app:

Https://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8

Then replace HTTP//with itms://or itms-apps://

The address of the link after the replacement.

Itms-apps://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8

2. Jump AppStore Link

1). iOS native app jump, write a button to add an event to the button. Then copy the following code.

[[UIApplication sharedapplication] Openurl:[nsurl urlwithstring:@ "itms-apps://itunes.apple.com/cn/app/ Jie-zou-da-shi/id493901993?mt=8 "];

2). HTML5 application jump, there are two ways. A kind of directly write a <a> tag, one is to use JS
  

<a href= "itms-apps://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8" > Update </a>

  

window.open (' itms-apps://itunes.apple.com/cn/app/jie-zou-da-shi/id493901993?mt=8 ');

  

 

IOS get AppStore link address, jump from app to AppStore app

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.