Ios developer says is right, it does not even have to know, hey, but still do not know to ask, I hope you let me know! 1 Now I only judge in the development of the device size, and then display a different interface, the code is as follows: / / Determine the type of device # Define iPhone5 (?. [UIScreen instancesRespondToSelector: @ selector (currentMode)] CGSizeEqualToSize (CGSizeMake (640, 1136), [[UIScreen mainScreen] currentMode] size): NO) / / If the device is iPhone5, 5s, 5s if (iPhone5) { } / / Otherwise iPhone4, 4s else {
} 2 is not in the phone system equipment have to judge it? , Xcode version I used for Version 4.6.2 (4H1003), previously let others test when people are 5.0 systems, there have been mistakes, I did not pay attention, we hope to help the younger relieve confusion. If the phone system is set properties were 5.0,6.0,7.0, and then they abandoned the property or function would not be able to call it. . . Everyone how different systems compatible version? Reply:
The reply was deleted administrator at 2013-09-27 09:09:27
Reply: Bangding, incidentally learning Ing, in fact, had good judgment, judgment based on the size of the main screen, and now in addition to IOS 7 of that method can not be used. . . Reply: Uncle Joe is gone, iOS also messed up. Reply: Set the best development environment for the development of 5.0 or 4.3 versions can generally low road, high version should be no problem Reply: 4.3 can be set up Reply:
I am now in the judgment of 4,4 s and then determine where else is ios7 system or the other, if it is left ios7 sdk, the other left 6 Reply:
I think the judge is the first screen, make the page appear normal, while the system's judgment, it is a normal function of the realization app. Reply:
No way, just go along with shade trees. Reply: Useful if some Systems compatible API should judge, ios6.0 be different from what some of the above versions of a project done before encountered such a problem. Reply:
Now first determine the screen size, and then determine the system. Reply: you say is xcode4.3? Reply: is the Deployment Target Reply:
Set 4.3 on it
you say is xcode4.3?
is the Deployment Target
If you set the ios Deployment Target Build Settings under, then you can set the low version 4.3 is compatible with any higher version yet? Reply:
Set 4.3 on it
you say is xcode4.3?
is the Deployment Target
If you set the ios Deployment Target Build Settings under, then you can set the low version 4.3 is compatible with any higher version yet?
4.3 is compatible with more than a Reply: Well, I do not understand novice Reply:
Set 4.3 on it
you say is xcode4.3?
is the Deployment Target
If you set the ios Deployment Target Build Settings under, then you can set the low version 4.3 is compatible with any higher version yet?
4.3 is compatible with more than a
ah, thank you. Reply:
Set 4.3 on it
you say is xcode4.3?
is the Deployment Target
If you set the ios Deployment Target Build Settings under, then you can set the low version 4.3 is compatible with any higher version yet?
4.3 is compatible with more than a
ah, thank you.
Here you can say more than 4.3 compatible phone system, with the current version of xcode there is no relationship? I am now the latest xcode5, is able to run on all mobile phone system, but what the interface has changed appearance, had to determine the phone system. Reply:
The reply was deleted administrator at 2013-10-14 14:33:53
No comments:
Post a Comment