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.