SuperView是大智慧推出的超赢股票分析系统。
...当其被触摸后事件被交由它处理,如果它不处理,事件就会被传递给它的视图控制器对象(如果存在),然后是它的父视图(superview)对象(如果存在),一次类推,直到顶层视图。
基于80个网页-相关网页
It also center aligns the view and superview.
它还让视图的中心跟父视图的中心对齐。
It may not be obvious, but the second and third layouts produce identical behaviors: They both maintain a fixed margin between the view and its superview as the superview's width changes.
或许不是很明显,但是第二第三个布局产生一样的行为:即使父视图的尺寸发生改变,它们都让视图和父视图的边距保持不变。
应用推荐