开发者

Using the responder chain to see when a subview is added

It there any way for a window to tell that a subview's subview has been added. It seems like there is architecture in place (in the form of the responder chain) to allow a kind of event bubbling up the view hierachy, but this only seems to exist to handle user interaction.Does a UIView emit any kind of Event when added to its superview? Is there a way for a window to know when a subview has been added somewhere within its descendent view开发者_运维百科 hierachy?


-[UIView didMoveToSuperview] tells the view that its superview changed.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜