I have created an app which starts with a login page, after entering some user information I send a GET to server. Using the response values I create buttons, their title etc dy
following are answers of your queries, might be it will help you- 1. I want to also be creating a new view and create buttons on that view. for this you can create a new view controller and push that view controller once you received the response. Also you can float the response from one controller to other. 2. And a second question, with this code my buttons just move downwards but i want two lines of buttons You need to set frames of buttons properly, then will work perfectly.