After Animation, View position resets

后端 未结 6 519
悲哀的现实
悲哀的现实 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:04

    Can you set the view's hidden property to YES?

    I think it would be:

    self.view.hidden = YES;
    

    But it might be:

    [self.view setHidden:YES];
    

    I turns out I am pretty lame at figuring out the proper way to access properties of properties.

提交回复
热议问题