How can i display the result of a method in a new view?

前端 未结 1 1032
广开言路
广开言路 2021-01-25 21:18

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

相关标签:
1条回答
  • 2021-01-25 21:39

    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.

    0 讨论(0)
提交回复
热议问题