Xcode6 to open an old project, the new class coordinate system will be the same as the previous one.
What are the changes in Xcode6?
1. Some options are missing when creating a project, such as the commonly used Empty project:
2. In order to better adapt to the screen size, The Size Option is added in the xib settings:
3. If there is no pch file in the project and you need to create it yourself, how
The approximate method is: After the iphone link to itunes, open itunes, click on the left "device" column of "Who's iphone," in the left side of the iphone small icon click on the right mouse button, the pop-up menu to choose "Backup" to start the iphone backup, The time of backup is proportional to the number and
them is HIG (Human Interface Guideline ). In addition, the author of the official WWDC Conference App also gave some experience in adaptation.
Let's see what they say.HIG part
First, let's take a look at the changes in the size of each model.
Figure 2.1 iPhone size of each version
This is part of the change in iPhone
Author: Sun Dongfeng)
Data persistence on all mobile development platforms is a very important part: In j2s, It is rms or stored in the application directory, in symbian, it can be stored in the corresponding disk directory and in the database. In symbian, due to permission authentication, most 3rd users can only access private directories of applications or shared directories of other systems. On the iphone, apple has made great strides and provided
. machine features
I won't say much about the iPhone. I believe everyone is familiar with it. The only thing I want to say is, in fact, the screen andThe gap between mainstream Android mobile phones is not as big as imagined. The gap between 960*640 and 800*480 is actually not thatObviously (let's see the difference between 95 and 99), and even some of Samsung's screens are similar in many aspects.Powerful iPhone
When the iPhone 5 comes out, we will adapt to screens with different resolutions like android.The new version of the company's products must be adapted to the iPhone 5. After some effort, it is done. I will share with you the screen resolution of iPhone 5: 1136x640, that is, when the height is changed to, the name of the photo is default-568h@2x.png. When we crea
IPhone 6 Resolution and adaptation, iPhone 6 Resolution adaptation
Resolution and pixels
Verified by the new xcode6 simulator (the resolution is pt and the pixel is real pixel ):
1. iPhone 5 resolution 320x568, pixel 640x1136, @ 2x
2. iPhone 6 Resolution 375x667, pixel 750x1334, @ 2x
3.
IOS: screen adaptation for iPhone 6 and iPhone 6 Plus, iosiphone6
The iPhone 6 and iPhone 6 Plus have been on the market for some time. Although the Chinese mainland has not launched the iPhone 6 and iPhone 6 Plus, it is a treasur
instancesRespondToSelector: @ selector (currentMode)]) {return CGSizeEqualToSize (CGSizeMake (640,113 6), [UIScreen mainScreen] currentMode]. size) ;}else {return NO ;}# pragma-mark-determine the short version of the mobile phone model // # import "sys/utsname. h "-(NSString *) getDeviceModel {struct utsname u; uname ( u); NSString * modelVersion = [NSString stringWithFormat: @" % s ", u. machine]; return modelVersion ;}# pragma-mark-determine the mo
About how to enlarge the app status bar under iPhone 6/6 plus, iPhone 66plusAbout how to enlarge the content of the app status bar under iPhone 6/6 plus
Recently, we found that the company's applications areIPhone 6AndIPhone6PlusWhen running, the content of the status bar is larger than the normal size of the system.
, enter your Apple ID account and password in the login interface, as shown in the picture.
3, after entering the select "Find My IPhone" feature, as shown in the figure.
4, in the positioning will again require us to enter the Apple ID password, input can be, as shown in the figure.
5, after completion can wait for map positioning information.
Mobile phone to start positioning search, the Web site may be slower
Apps on IOS iphone 4inch do not have full screen, black borders on the upper and lower sides, and iphone 4inch
I have been using the iPhone Retina (3.5-inch) simulator to test the IOS application. Everything is displayed normally, as shown in the following figure:
In application development, I use pure code for implementation. The company provides an
Step-by-step method for building a nodejs server on an iPhone, iPhone enodejs
1. Compile jxcore for running on ios
Copy codeThe Code is as follows:$ Mkdir ~ /Jxcore$ Cd ~ /Jxcore$ Git clone https://github.com/jxcore/jxcore.git
Copy codeThe Code is as follows:$ Cd ~ /Jxcore$./Build_scripts/ios-compile.sh
If the module not found of import which occurs, use the following statement to install which of python.
C
| UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
Next, set the sub-view (such as button and image ):
Code:
.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin;
This means that when the control is scaled, it corresponds to the left and top of the parent view. You can set the autorizingmask value for the Child control as needed.
You can also use the code to manually change the
Author: Sun Dongfeng (source)
In my previous article "manually write the BSD Socket engine of iPhone wap browser", the tags on the wml page have been successfully parsed, if you are careful, you may see Chinese characters in the tag display as garbled, this is because the default Chinese encoding format on the iPhone is UTF-8, And the request through BSD Socket is ASCII code, so you need to convert to UTF-8
An error occurred while calculating the label width (height) for ios on iPhone 5s and iPhone 6.
When using Label today, we need to calculate the UILabel height. We found that the height displayed on 4, 4s is normal, and an error is displayed on iPhone 5s and iPhone 6.
The method is as follows:
NSString * teacherCommen
Author: Sun Dongfeng 2009-12-01 (source)
In the preparation for writing the iPhone wap browser by yourself, the author describes the main process of developing the iPhone wap browser as follows:
2. encapsulate BSD Socket for HTTP requests.
2. parse the requested WML page into an XML data structure.
2. The WML tag (English name tag) to be displayed on the interface for rendering ).
2. display the rendered W
1. You need to add a boot image with the size: 640*1136. After the image is created, the name is default-568h@2x.png. InCodeDetermine iPhone 5? (Image-1) :( image-1-os5), no such as @ 22x.
# DefineIphone5 ([uiscreen instancesrespondtoselector: @ selector (currentmode)]? Cgsizeequaltosize (cgsizemake (640,113 6), [[uiscreen mainscreen] currentmode]. Size): No)
Method one, photo stream or ICloud photo Gallery
In the present, the use of mobile phone to take photos anywhere, has become one of the habit of using mobile phones. A long time, natural on the phone will store more and more photos.
If you currently open the "photo stream or ICloud picture library" in the ICloud service, it will upload the current phone photos to the ICloud cloud via wireless, and it will also store an identical copy on the phone, which adds to the IPhone's storage pressu
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.