zoukankan      html  css  js  c++  java
  • iOS launchImage

    iOS launchImage
    https://stackoverflow.com/questions/34027270/ios-launch-screen-in-react-native
    如何设置:
    Xcode -> Images.xcassets -> 打开的页面右键New iOS Launch Image.

    新建一个Launch Image ,然后双击,向其中添加图片。

    (图片像素值https://www.jianshu.com/p/e9b299f26d92)
    图片如何获取

    自己修图
    如果应用里面有对应的页面可以作为launch image,打开不同的模拟器(XSM , XR, …具体打开的型号后面有),进入该页面(注意先把StatusBar隐藏掉),Command + S 截图,截图会出现在桌面上。拖进框里。
    设置Launch Image
    Xcode
    -> 点击项目
    -> Genera
    l -> App Icons and Launch Images
    -> 删除 launch ScreenFile 里面的内容,点击 Launch Images Source

    -> 这时会自动生成一个新的Launch Image Set(有时候不会立即更新,随便点击一下别的文件,然后再次回到General)
    -> 选择 Launch Images Source 为你之前手动加的那个
    -> 再回到Images.xassets,将自动生成的那个Set删除。
    -> 就可以了

    需要的Launch image对应的手机型号
    iPhone 6 Plus
Portrait: 1242 x 2208 (Launch Image: iPhone Portrait iOS8 – Retina HD 5.5)
Landscape: 2208 x 1242 (Phone Landscape iOS8 – Retina HD 5.5)
    iPhone 6
 Portrait: 750 x 1334 (iPhone Portrait iOS8 – Retina HD 4.7)
Landscape: 1334 x 750
    iPhone 5, 5S, 5C
Portrait: 640 x 1136 ("iPhone Portrait iOS5,6 – Retina 4" and "iPhone Portrait iOS7,8 – Retina 4")
Landscape: 1136 x 640
    iPhone 4, 4S
Portrait: 640 x 960 (iPhone Portrait iOS5,6 – 2x and iPhone Portrait iOS7,8 – 2x) Landscape: 960 x 640
    iPhone 1, 2, and 3
Portrait: 320 x 480 (iPhone Portrait iOS5,6 – 1x)
Landscape: not supported

    https://stackoverflow.com/questions/25816759/what-are-iphone-4-7in-and-5-5in-screen-shot-dimensions

  • 相关阅读:
    Java工具类
    集合 -- 嵌套表
    集合--索引表
    第一章
    记录Record
    序列Sequence
    操纵数据库 DML
    表的集合操作
    视图
    索引
  • 原文地址:https://www.cnblogs.com/wkmcyz/p/10489691.html
Copyright © 2011-2022 走看看