Change viewcontrollers | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Change viewcontrollers

I want to click one button in one viewcontroller and in other view controller i want to display the chart

26th Dec 2018, 8:18 PM
Murat
Murat - avatar
1 Answer
0
To show a different viewcontroller when the user presses a button, you can hold down the Ctrl-Key on your keyboard and drag from the button to the viewcontroller that you want to show. From the menu that appears, choose "Show", for example. Look at this lesson for more information: https://www.sololearn.com/learn/Swift/2377/
3rd Jan 2019, 12:12 AM
Lennart Wisbar
Lennart Wisbar - avatar