IOS---Jump __ios between two apps

Source: Internet
Author: User
1, first we will create the first single application, named Firstapp.

Here's a quick explanation, language says that the project we created is based on objective-c, and that I will follow the tutorials based on Swift.
Devices said the project we created ran on top of the platform, and Universal said the project would work on both the iphone and the ipad.

The directory after the project is created is this:




All we need to do is change the viewcontroller.m file:




In the Clickbutton function, secondeapp://is the URL of our second app schemes.
Next, we add the URL schemes to Firstapp:


Select our project, in the middle column to select Info, in the URL types inside click "+" to add URL schemes. URL schemes just write the name of our project on the line. Identifier wrote the logo of our app. The following figure:


The next step is to create the Secondapp, which is exactly the same as Firstapp, Secondapp add URL schemes.


With two apps running on top of our phone, click on the button to see two apps jump to each other.


Related Article

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.