Quick app upgrade supports iOS 6 and iPhone 5 4-inch screens

Source: Internet
Author: User

On the early morning of the 19th, Apple released the latest official version of ios6, xcode4.5, and 10.8.2. the upgrade was completed one day and one night with the company's network updated yesterday.

It took several minutes to upgrade the original app perfectly, supporting 1136*640 resolution. Since the app was originally compatible with the iPhone/iPad, that is, the devices is set to universal, the upgrade process is very simple.

1. Update content of the new version xcode4.5

First, we will introduce the new version of xcode4.5:

I pay more attention to two items, one is ios6 (this is nonsense), and the other is that xcode will be compatible with different versions of the operating system, which has been implemented in visutalstudio for a long time. Version 4.5 will not be released based on the operating system.

Version 4g182 after upgrade to 4.5

2. Simulator

After the upgrade, the most important thing is whether the simulator supports screen resolution of 4 inch. As I expected, there was already an iPhone 5 4 inch screen simulator, which was fast and awesome.

It seems that xcode4.5 does not support ios4.x at all, because the IOS 4.x simulator cannot be downloaded from xcode. Do you want to be compatible with it? According to the statistical data, ios4.x accounts for no more than 15% of the ios4.x. I think it is still necessary to support it in the near future, but it is difficult to test it.

The simulator map is also updated to AMAP, and the controversial Diaoyu Islands are in a prominent position.

3.CodeUpgrade

Open it directly with xcode4.5Source codeSome warning information will be found during compilation, and the upgrade can be completed after direct repair.

Step 1: Add a launchimage with a resolution of 1136*640. xcodewill automatically renew the image and name it default-568h@2x.png, as shown in. Click Add. Finally, replace the image with the actual image.

Step 2: eliminate some expired interfaces and attributes. I am lucky to have only two or three background settings for tableview. Set this attribute to default.

Other problems are not found yet. The last step is to modify the project file. Since my project was originally a universal version, it is easy to upgrade, as shown in:

Added the statusbar configuration in the project configuration. Something that was previously only implemented in the code can now be directly moved here for visual configuration.

 

4. appstore release

Before publishing an application, you must confirm a new protocol.

An iPhone 5 upload is added to the app information, as shown in:

In addition, a routing app coverage file is added, so you can choose not to upload the file.

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.