博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
iOS 设置高清图片
阅读量:4111 次
发布时间:2019-05-25

本文共 906 字,大约阅读时间需要 3 分钟。

Applications running in iOS 4 should now include two separate files for each image resource. One file provides a standard-resolution version of a given image, and the second provides a high-resolution version of the same image. The naming conventions for each pair of image files is as follows:

  • Standard: <ImageName><device_modifier>.<filename_extension>

  • High resolution: <ImageName>@2x<device_modifier>.<filename_extension>

The <ImageName> and <filename_extension> portions of each name specify the usual name and extension for the file. The <device_modifier> portion is optional and contains either the string ~ipad or ~iphone. You include one of these modifiers when you want to specify different versions of an image for iPad and iPhone. The inclusion of the @2x modifier for the high-resolution image is new and lets the system know that the image is the high-resolution variant of the standard image.

转载地址:http://fiosi.baihongyu.com/

你可能感兴趣的文章
Linux:Pycharm中使用Git
查看>>
gogs的坑:fatal: Could not read from remote repository.
查看>>
Git:Git分支概念、Pycharm中使用使用分支
查看>>
Python:线程同步,Barrier屏障
查看>>
Python:信号量semaphore
查看>>
Python:多进程multiprocessing,多进程和多线程的应用
查看>>
Python:concurrent异步并行任务编程模块、 线程池、进程池、上下文管理
查看>>
JSONArray
查看>>
HTTP 请求中的Header 参数
查看>>
PostgreSQL远程连接,发生的SSL错误
查看>>
PostgreSQL 创建用户
查看>>
mysql 定时任务
查看>>
浅谈sql中的in与not in,exists与not exists的区别以及性能分析
查看>>
Tomcat注册为Windows服务
查看>>
pg_stat_statements windows 安装
查看>>
启用mqtt插件
查看>>
行转列
查看>>
erlang,rabbitMQ,mqtt安装配置 1
查看>>
rabbitmq 创建用户和权限
查看>>
数据库权限2
查看>>