博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
屏幕旋转,ViewController触发事件
阅读量:4460 次
发布时间:2019-06-08

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

 ViewController加载完成以后,旋转屏幕,会触发以下事件:

  注:ShowViewCycle是ViewController的SubView

1. -[ViewController willTransitionToTraitCollection:withTransitionCoordinator:] [Line 76] newCollection:<UITraitCollection: 0x7f8f22d6a5a0; _UITraitNameUserInterfaceIdiom = Phone, _UITraitNameDisplayScale = 2.000000, _UITraitNameHorizontalSizeClass = Compact, _UITraitNameVerticalSizeClass = Compact, _UITraitNameTouchLevel = 0, _UITraitNameInteractionModel = 1> coordinator:<_UIViewControllerTransitionCoordinator: 0x7f8f22d67660>

2. -[ViewController viewWillTransitionToSize:withTransitionCoordinator:] [Line 63] coordinator:<_UIViewControllerTransitionCoordinator: 0x7f8f22d67660>, size width:667.000000 hight:375.000000

  2.1 -[ShowViewCycle translatesAutoresizingMaskIntoConstraints] [Line 393] 

  2.2 -[ShowViewCycle translatesAutoresizingMaskIntoConstraints] [Line 393] 

  2.3 -[ShowViewCycle translatesAutoresizingMaskIntoConstraints] [Line 393] 

3. -[ViewController viewWillLayoutSubviews] [Line 186] 

4. -[ViewController updateViewConstraints] [Line 387] 

  4.1 -[ShowViewCycle translatesAutoresizingMaskIntoConstraints] [Line 393] 

  4.2 -[ShowViewCycle alignmentRectInsets] [Line 434] 

5. -[ViewController viewDidLayoutSubviews] [Line 196] 

  5.1 -[ShowViewCycle layoutSubviews] [Line 231] 

转载于:https://www.cnblogs.com/StarMud/p/4597269.html

你可能感兴趣的文章
LINQ系列:LINQ to DataSet的DataTable操作
查看>>
ASP。net 测验
查看>>
java开发环境搭建-慕课网
查看>>
NOIP2015-D2T3运输计划
查看>>
Z :彻底了解指针数组,数组指针以及函数指针 [复
查看>>
用的好好的,Cygwin变的不好用了。
查看>>
2013年终总结
查看>>
在IIS中部署.net core应用
查看>>
hihocoder编程练习赛52-3 部门聚会
查看>>
Start to study Introduction to Algorithms
查看>>
AE常见接口之间的关系(较笼统)+arcgis常见概念
查看>>
正则表达式
查看>>
三元操作设计不同类型的时候,最终结果的问题
查看>>
POJ 1661 Help Jimmy LIS DP
查看>>
大数据时代,我诚惶诚恐的拥抱
查看>>
c++小游戏——五子棋
查看>>
浏览器全屏非全屏切换
查看>>
2.CSS 颜色代码大全
查看>>
Native与H5交互的一些解决方法
查看>>
三、基于hadoop的nginx访问日志分析--计算时刻pv
查看>>