系统方法
-
setNeedsDisplay方法 : 会在恰当的时刻自动调用drawRect:方法
-
setNeedsLayout方法 : 会在恰当的时刻调用layoutSubviews方法
-
A model B
A presentViewController:B
A.presentedViewController -> B
B.presentingViewController -> A
setNeedsDisplay方法 : 会在恰当的时刻自动调用drawRect:方法
setNeedsLayout方法 : 会在恰当的时刻调用layoutSubviews方法
A model B
A presentViewController:B
A.presentedViewController -> B
B.presentingViewController -> A
本文标题:个人笔记 -IOS小知识
本文链接:https://www.haomeiwen.com/subject/hkihjttx.html
网友评论