Uikit Framework (1) Introduction to IOS app development

Source: Internet
Author: User
Tags home screen uikit
<span id="Label3"></p> <ul class="list-paddingleft-2"> <ul class="list-paddingleft-2"> <li><p><strong>UI elements in the app</strong></p></li> </ul> </ul><p><p>650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/7C/85/wKioL1bSmXWyJrhAAAIV9KFnfqs864.png "title=" Screenshot.png "width=" "height=" 319 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:600px;height:319px; "alt=" Wkiol1bsmxwyjrhaaaiv9kfnfqs864.png "/></p></p><p><p></p></p> <ul class="list-paddingleft-2"> <ul class="list-paddingleft-2"> <li><p><strong>Size of equipment</strong></p></li> </ul> </ul><p><p>iphone device size:</p></p> <table> <tbody> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"> <p> <span style="color:rgb (0,145,147);"> device </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="98"> <p> <span style="color: RGB (0,145,147); "> resolution </span> </p> <p> <span style="color:rgb (0,145,147);"> <br> </span> </p> </td> <td style="padding-top:10px; padding-bottom:10px;margin:0px; " width=" "> <p> <span style=" color:rgb (0,145,147); "> dot coordinates </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="6"> <p> <span style="color:rgb (0,145,147);"> size </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="<span"> <p> style= Color:rgb 0,145,147); " > status bar height </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="wuyi"> <p> <span style=" Color:rgb (0,145,147); "> navigation bar height </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width=""> <p> <span style=" Color:rgb (0,145,147); "> tab bar height </span> </p> </td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">iphone 6s Plus & iphone 6 Plus</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="91"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1080x1920 px</span></span><br></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="43"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">540x960</span></span><br></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">5.5</span></span><br></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span><br></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="51"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span><br></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="48"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPhone 6s & 6</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="91"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">750x1334 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="43"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">375x667</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">4.7</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="51"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="48"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPhone 5 & 5s & 5c</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="91"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">640x1136 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="43"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">320x568</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">4.0</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="51"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="48"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPhone 4 & 4s</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="91"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">640x960 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="43"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">320x480</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">3.5</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="51"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="48"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="213"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPhone & 3G & 3GS & IPod Touch</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="91"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">320x480 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="43"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">320x480</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">3.5</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="51"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="48"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> </tr> </tbody> </table><p><p>About resolution and point coordinates:</p></p><p><p>Resolution refers to a pixel array on the screen</p></p><p><p>Point coordinates are the coordinates used in the development process</p></p><p><p>From IPhone4 onwards, The Apple Device's screen uses the retina Retina screen, The original pixel point can display 4 pixels</p></p><p><p>That is, the width of the resolution is twice times greater than the width of the point Coordinate.</p></p><p><p><br></p></p><p><p>ipad device Size:</p></p> <table> <tbody> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="" <span "style="Color:rgb" (0,145,147);"> device <p></p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width=""> <p> <span style="color: RGB (0,145,147); "> resolution </span> </p> <p> <span style="color:rgb (0,145,147);"> <br> </span> </p> </td> <td style="padding-top:10px; padding-bottom:10px;margin:0px, " width=", " <span", "color:rgb" (0,145,147); "> dot coordinates <p></p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="6"> <p> <span style="color:rgb (0,145,147);"> size </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="<span"> <p> style= Color:rgb 0,145,147); " > status bar height </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width=""> <p> <span style=" Color:rgb (0,145,147); "> nav bar height </span> </p> </td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="<span" color:rgb (0,145,147); "> tab bar height <p></p> </td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="197"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPad Pro</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="63"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">2732x2048 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="52"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1366x1024</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">12.9</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="55"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="57"><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="197"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPad 3 & 4 & 5 & 6 & Air & AIR2</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="63"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">2048x1536 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="52"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1024x768</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">9.7</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="55"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="57"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="197"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPad & 2</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="63"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1024x768 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="52"><p><span style="color:#797979;"><span style="font-size:14px;">1024x768</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">9.7</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="55"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="57"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="197"><p><span style="color:rgb(0,84,147);"><span style="font-size:14px;">IPad Mini 2 & 3 & 4</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="63"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">2048x1536 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="52"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1024x768</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">7.9</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">+ px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="55"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="57"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">98 px</span></span></p></td> </tr> <tr> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="197"><p><span style="font-size:14px;"><span style="color:rgb(0,84,147);">IPad Mini</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="63"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1024x768 px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="52"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">1024x768</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="16"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">7.9</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="49"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="55"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> <td style="padding-top:10px;padding-bottom:10px;margin:0px;" width="57"><p><span style="color:rgb(121,121,121);"><span style="font-size:14px;">px</span></span></p></td> </tr> </tbody> </table><p><p>IPad2 and before, IPad Mini is not a retina screen</p></p><p><p>All devices have a status height of 20, the navigation bar height is 44, the tab bar height is 49 (point coordinates)</p></p><p><p>Since the beginning of the iOS7.0, Apple has started to adopt a flat style, with the navigation bar, the background of the status bar is managed by the navigation bar.</p></p><p><p>That is: the background height of the navigation bar should be 64</p></p><p><p><br></p></p> <ul class="list-paddingleft-2"> <ul class="list-paddingleft-2"> <li><p><strong>Use of app icons</strong></p></li> </ul> </ul><p><p>Where to use the app icon?</p></p><p><p>Home screen</p></p><p><p>APP list in ITunes</p></p><p><p>Spotlight</p></p><p><p>Settings</p></p><p><p></p></p><p><p>How do different devices display the same icon?</p></p><p><p>In iOS development, by the name of the icon file, This icon should be displayed on that device, such as:</p></p><p><p>Icon.png on devices that are not retina screens</p></p><p><p>[email protected] used on devices on the retina screen</p></p><p><p>[email protected] used on iphone 6/6s Plus</p></p><p><p>This same rule applies to any image resource that is used in iOS development</p></p><p><p><br></p></p><p><p>How do I set the App's icon?</p></p><p><p>After the project is created, it contains A. xcassets file that is used to manage icon resources</p></p><p><p>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/7C/87/wKiom1bSme_y3VHHAACjVcqncWw692.png "title=" Screenshot.png "width=" "height=" 224 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:300px;height:224px; "alt=" Wkiom1bsme_y3vhhaacjvcqncww692.png "/></p></p><p><p>By default, the file will have an image Set named Appicon.</p></p><p><p>650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/7C/85/wKioL1bSmorA1VlvAAAc3OjB33g384.png "title=" Screenshot.png "width=" 201 "height=" "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:201px;height:41px; "alt=" Wkiol1bsmora1vlvaaac3ojb33g384.png "/></p></p><p><p>Once selected, you can drag all app icon files to it and automatically adapt</p></p><p><p>650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M00/7C/87/wKiom1bSmjfTt9HPAADiuu-er2w794.png "title=" Screenshot.png "width=" 599 "height=" 254 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:599px;height:254px; "alt=" Wkiom1bsmjftt9hpaadiuu-er2w794.png "/></p></p><p><p>The principle of adaptation is that the app icon has a uniform naming Convention.</p></p><p><p><br></p></p><p><p>An iphone only app icon Description:</p></p><p><p>650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/7C/87/wKiom1bSmnOA4xaEAAPtSCfWHmo367.png "title=" Screenshot.png "width=" "height=" 398 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:398px; "alt=" Wkiom1bsmnoa4xaeaaptscfwhmo367.png "/></p></p><p><p>Icon with ipad only app:</p></p><p><p>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/7C/87/wKiom1bSmq7jKxXAAAHIRdmrAsM554.png "title=" Screenshot.png "width=" 701 "height=" 285 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:701px;height:285px; "alt=" Wkiom1bsmq7jkxxaaahirdmrasm554.png "/></p></p><p><p>Icon description with Universal App:</p></p><p><p>650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M00/7C/85/wKioL1bSm23CEcTJAAJg3ChBXLk466.png "title=" Screenshot.png "width=" "height=" 398 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:700px;height:398px; "alt=" Wkiol1bsm23cectjaajg3chbxlk466.png "/></p></p><p><p><br></p></p><p><p><br></p></p><p><p>This article is from the "teacheran" blog, make sure to keep this source http://annmeng.blog.51cto.com/3321237/1745758</p></p><p><p>Uikit Framework (1) Introduction to IOS app development</p></p></span>

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.