i have an application with login andApplications pages(not html), i send GET to server and using the response i dynamically create somme buttons which take their properties from the JSON response value. Anything is OK, but even tough i want to create these buttons in a new view they allways come over the login page. Can someone help me to create views which will be loaded after i got the response?
I had asked a question like this but the answers weren’t satisfying.. My old question is here
And finally i did solve my question! Here is what i did
myViewController *anObject=[[BNT_1ViewController alloc] init];
[self.view addSubview:anObject.view];
anObject.view.backgroundColor=[UIColor blackColor];
I placed this into my code and now the buttons go to new page(to anObject)
Use a UINavigationController. Create a UIViewController and push it using the navigation controller. You will find lots of tutorials regarding UINavigationControllers online