How do I connect a IBOutlet to a UIView?

前端 未结 4 1217
无人及你
无人及你 2020-12-17 03:16

I\'m trying to switch views after an animation as seen:

[UIView beginAnimations: @\"Fade Out\" context:nil];
[UIView setAnimationDelay:1.0];
[UIView setAnima         


        
4条回答
  •  一向
    一向 (楼主)
    2020-12-17 03:46

    Are you declaring the view as a property?

    The syntax should be something like this:

    @property (nonatomic, weak) IBOutlet UIView *main;
    

提交回复
热议问题