开发者

Nested View with nested buttons -- Why don't the buttons move with the parent view?

In interface builder I created a view, interfaced with the code and in that view I nested two buttons. On loading of the view I hide the view.

How come when I animate the view down, the buttons don't come with it? Why do I also have to reset t开发者_运维问答heir frames? Aren't frames relative to the parent view?


They are relative. I would make sure that your buttons are on the correct view and that they are connected properly.

Also check how the view is wired in and that it is connected to the proper controller.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜