After Animation, View position resets

后端 未结 6 526
悲哀的现实
悲哀的现实 2020-12-08 10:42

I am trying to make a view slide from top to bottom. This is not a big deal, I used CABasicAnimation for this. The problem is when I want to remove the view. I

6条回答
  •  再見小時候
    2020-12-08 11:05

    Setting the view to hidden as Rob suggests should do it.

    For properties of properties I would stick with the ObjC 2.0 style like you already have in your code.

    set.view.hidden = YES;
    

提交回复
热议问题