It seems to be simple, but I didn’t find any information about this on this site. I want to call a view, but I don’t want to use addSubview method, I just want to call a new view above the current one. And remove it after some time.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It sounds like you need a NavigationController.
There you can push views with the following code:
If you want to switch back to the old ViewController just remove the view with the following code: