iPhone 4S 屏幕信息

//  [[UIApplicationsharedApplication] setStatusBarHidden:YES];  状态栏占20高度

UIScreen *currentScreen = [UIScreenmainScreen];

NSLog(@"applicationFrame.size.height = %f",currentScreen.applicationFrame.size.height);

NSLog(@"applicationFrame.size.width = %f",currentScreen.applicationFrame.size.width);

NSLog(@"applicationFrame.origin.x = %f",currentScreen.applicationFrame.origin.x);

NSLog(@"applicationFrame.origin.y = %f",currentScreen.applicationFrame.origin.y);

NSLog(@"bounds.x = %f",currentScreen.bounds.origin.x);

NSLog(@"bounds.y = %f",currentScreen.bounds.origin.y);

NSLog(@"bounds.height = %f",currentScreen.bounds.size.height);

NSLog(@"bounds.width = %f",currentScreen.bounds.size.width);

NSLog(@"brightness = %f",currentScreen.brightness);

applicationFrame.size.height = 460

applicationFrame.size.width = 320

applicationFrame.origin.x = 0

applicationFrame.origin.y = 20

bounds.x = 0

bounds.y = 0

bounds.height = 480

bounds.width = 320

brightness = 0.392892

iPad4

applicationFrame.size.height = 1004

applicationFrame.size.width = 768

applicationFrame.origin.x = 0

applicationFrame.origin.y = 20

bounds.x = 0

bounds.y = 0

bounds.height = 1024

bounds.width = 768

brightness = 0.787293

转载于:https://www.cnblogs.com/sell/archive/2012/12/27/2835621.html

得到ios设备的屏幕尺寸信息相关推荐

  1. iOS 设备的屏幕尺寸

    记录下iOS设备的屏幕尺寸 iPhone 设备: iPhone 1G - 320x480 iPhone 3G - 320x480 iPhone 3GS - 320x480 iPhone 4 - 640 ...

  2. iOS 设备的屏幕尺寸、分辨率及其屏幕边长比例详细情况

    根据屏幕尺寸和分辨率,ios现在数起来有6个版本. 一,3GS:二,4s为代表:三,iphone5:四,ipad2为代表:五,ipad4为代表:六,ipad mini. 只是分辨率不一样的情况,如一二 ...

  3. 所有iOS 设备的屏幕尺寸

    屏幕适配比例.png iPhone 设备: iPhone 1G --- 320x480 iPhone 3G --- 320x480 iPhone 3GS --- 320x480 iPhone 4 -- ...

  4. IOS 开发 iPhone屏幕尺寸、分辨率及适配

    版权声明:本文为博主原创文章,未经博主允许不得转载. 目录(?)[+] 1.iPhone尺寸规格 设备 iPhone 宽 Width 高 Height 对角线 Diagonal 逻辑分辨率(point ...

  5. ios学习7_iPhone屏幕尺寸、分辨率及适配

    1.iPhone尺寸规格 设备 iPhone 宽 Width 高 Height 对角线 Diagonal 逻辑分辨率(point) Scale Factor 设备分辨率(pixel) PPI 3GS ...

  6. iOS设备录制屏幕视频

    今天发现了一款名为Reflector的软件,可以方便的录制iOS设备的屏幕视频,而它的使用过程非常简单,利用的是设备的内在能力(air play). 使用时只需要在PC(MAC或Windows的操作系 ...

  7. ios开发之--所有设备的屏幕尺寸(最新) -设备型号对比- Replaykit录屏分辨率

    所有设备型号官网地址:https://www.theiphonewiki.com/wiki/Models iPhone: 机型 逻辑分辨率(point) Scale 物理分辨率(pixel) 比例 像 ...

  8. iOS 应用图标 屏幕尺寸

    屏幕尺寸 启动屏幕的大小尺寸 手机型号 倍图 像素尺寸(px) 屏幕尺寸(英寸) 5s SE 2x 640 x 1136 4 6s 7s 8s 2x 750 x 1334 4.7 6p 7p 8p 3 ...

  9. iOS 苹果手机的屏幕尺寸参数 (全机型。px,pt)

    机型 发布时的系统 屏幕英寸 pt 像素 iPhone4    iOS4 3.5英寸 320 * 480pt 960x640 iPhone4S iOS 5 3.5英寸 320 * 480pt 960x ...

最新文章

  1. 我还没考试,算法就说我的物理一定挂科
  2. 【老孙随笔】关羽和吕蒙——天才的失败
  3. 网页轻松展示CV、NLP模型,连你老爸都会操作 | 斯坦福出品
  4. python写前端代码_哪种ide能同时写java和前端代码?
  5. GUI阅读字号和触点面积设计 (可用性设计)
  6. C++回声服务器_4-UDP connect版本客户端
  7. ejb 示例 2018_EJB钝化和激活示例
  8. x86从实模式到保护模式实验说明
  9. Linux 文件夹权限
  10. 【React 基础】之 React 基本介绍、jsx 规则、模块与组件
  11. 阶梯英语2006年年终大会主持人发言稿
  12. mysql sysdate本周_mysql 查询当天、本周,本月,上一个月的数据
  13. Mac设置terminal 像其他linux发行版一样显示工作路径
  14. 研究生毕业之际一些闲聊
  15. CSS3动画之一:Transitions功能
  16. Python中字符串的startswith()和endswith()方法
  17. Vivado封装自定义IP
  18. [FOI2020]手链强化
  19. VIVADO生成并导入网表文件
  20. 我与鸟哥 Yar 的亲密接触

热门文章

  1. python知识:opencv下的轮廓和区域
  2. Docker的安装和使用及dockerfile简单使用
  3. 2021-03-31 Matlab simulink 模糊PID在无刷直流电机中的应用
  4. python脚本调度程序_Windows 任务调度程序定时执行Python脚本
  5. 七种Vue3传值方式
  6. 面试题整理7 二叉搜索树的后序遍历序列
  7. 8.分布式数据库HBase第4部分
  8. py-faster-rcnn源码解读系列
  9. Caffe代码导读(4):数据集准备
  10. 浅谈Java的Fork/Join并发框架