, the system will be the extra 88 points will be automatically divided into two parts , making black edges appear up and down. corresponding to different models, screen coordinate size has changed, can no longer be absolutely positioning, in order to solve this problem, iOS has a new technology:AutoLayout. AutoLayout can solve different models, screen size changes, as for the picture adaptation, because 5/5s/5c, coordinates: pixels = 1:2, so directly
With the increase in Apple products and the increasing number of screen sizes, how do we make our app adapt to different types of apple screen sizes when writing programs?When Apple gave a solution, a point concept was proposed. A point in 3gs corresponds to one pixel, and a point in 4 (s) corresponds to two pixels. In iOS development, it is more convenient to point as a unit, as @1x in the following table
ArticleDirectory
Points vs. pixels
Adjusting sizes
Additional references
Element
Size (in points)
Window (including status bar)
320x480 PTS
Status Bar(How to hide the status bar)
20 PTS
View inside Window(Visible status bar)
320x460
Navigation Bar
44 PTS
Nav bar image/Toolbar Image
Up to 20x20 PTS (transparent PNG)
T
Script file See: Https://coding.net/u/hust_wsh/p/GenerateIcons/gitFor use, add a few notes:1. Preparation: Save the Jsx file locally and put it in Photoshop's preset script folder, in the Adobe Photoshop installation directory Presets\deco directory, for example my is in: D:\Program files\adobe\adobe Photoshop CS6 (\presets\deco Bit)2. Open or restart Photoshop, you can see the generateicons in the Script menu, such as:3. Open the corresponding icon PSD file (must), and then click the Generateic
------Understanding of adaptation------1. What is a fit?Adaptation is to adapt to different hardware and system software, hardware including screen display, processor, memory and so on (currently mainly screen adaptation, the IPhone 6s new 3D touch features, other hardware features have not changed substantially), The software is mostly different iOS systems (some of the methods that are no longer supported in the latest system (which is usually as ba
1. I click the Apple tab to display the iphone page. on the displayed iphone page, click the color colorwhite label and select the white Apple 3. then I ordered the items by time, and the items will be sorted by release time! Q: How do I find the current index. php? Typeiphon... 1. click the Apple tab to display the iphone page,
2. on the displayed
1. I click on the Apple tab to display the iphone page,
2. On the iphone page shown, I clicked on the Color Color=white tab, filtered to get the white apple
3. Then I click on the time order, the product will be sorted by the time of publication!
Question How do I append index.php?type=iphonecolor=white; to the current Index.php?type=
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.