I new in iOS development. Can somebody help me?
I have view:
.h file:
UIView *secondView;
.m file:
- (void)viewDidLoad
{
[super viewDidLoad];
[secondView setFrame: CGRectMake(100,60,30,30)];
[self.view addSubview:secondView];
}
How to make that by pressing the button secondView is turned on full screen with animation?
I found answer for my question:
In viewDidLoad method need to add as subview second view with frame
And in touchesBegan method need to add:
That’s all. Thanks all for help!