Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以透露 IB 中的秘密握手以允许 UIView 子视图超出其父超级视图的范围吗?
干杯,道格
使子视图大于其父视图,并将父视图的剪辑子视图设置为 NO。
(请注意,不在其父视图内的子视图部分将不可点击,即使它是可见的)
您可以使其大于超级视图,但它不会超出范围可见(至少在我的实验中不是)。
我认为您可以先找到父视图控制器,然后使用父视图控制器呈现子视图。