iOS launches other apps

Source: Internet
Author: User

Open App2 from App1. The main idea is to be able to to be APP2 Set righteousness a URL, in the App1 ever Open it URL to open app2, where ever in the process. Be able to transfer some of the parameters.

Open the URL that you just defined in the APP1 code. The code is as follows:
@"  myapp://test?para1=1?2=2   "   ]; [[UIApplication sharedapplication] openurl:url]; 
  

course. The form of this URL can be in other forms. You just have to start with "myapp://".

In this way, you can open App1 in app2. after open, app2 appdelegate

is called
id ) Annotation 

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

iOS launches other apps

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.