我正在尝试实现一个覆盖来向用户提供有关应用程序中其他视图的说明。这是视图层次结构的草图:
SomeFullScreenContainerView
FullScreenContainerOfInstructionView
InstructionView
FullScreenView
MaybeSomeIntermediateViews
ViewToProvideInstructionsFor
我需要InstructionView
相对于 定位ViewToProvideInstructionsFor
,但要做到这一点,我需要确保包含的视图层次结构的分支ViewToProvideInstructionsFor
已经布局,以便我可以参考框架ViewToProvideInstructionsFor
来设置框架InstructionView
。我怎样才能做到这一点?