I try to load Second view in MainView with define frame size but don't need to see component of second view. I set size till it weel be appear.
-(IBAction)displayNewView:(id)sender {
[mrView setFrame:CGRectMake(0,150,320,50)];
[self.view addSubview:mrView];
}
i dont want to see second button.
If you have Button on Second View. Then It'll display on View when you are loading second view on Main View. Because it's part of Second View.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With