Call the system's call number. If no dialog box is displayed or the problem occurs multiple times, call the call number.

Source: Internet
Author: User

Call the system's call number. If no dialog box is displayed or the problem occurs multiple times, call the call number.

After one month of working overtime, the project was almost finished in this phase, so I started the optimization work. Today I found a problem, in the iOS10.2 system, the mobile phone calls the system's call function. The pop-up box does not appear and you can directly jump to the call interface. However, in the iOS10.2 and above systems, the project code here is the same. I believe developers know it as follows:

The last time I checked the information, I knew that there was a pop-up box in this method after 10.2, but there was no pop-up box before 10.2. this pop-up box could not be removed and the system was used for security protection, therefore, it must be processed by version.
Otherwise, some systems of the same project will pop up twice, while others will not.

First, you can write a class method in the tool class of the project.

 

Next, if you need to call the system keyboard, use version-based processing. For iOS10.2 and later versions, you only need to call the call method in the pop-up box provided by the system, you must create a dialog box for versions earlier than iOS10.2.

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.