Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Matthew Muscat
Courses Plus Student 1,757 PointsMaking a UIAlertAction act like a @IBAction? (Swift)
I'm working on a project in swift and I need your help. I've created a UITableRowAction called 'Edit', once this is clicked a UIAlertAction pops up near the bottom which has two options > cancel or proceed. How can I make the 'Edit' action change to another view? (Single View App) I've done this before with buttons by just Control + Clicking and dragging to next view.. but I cant obviously get an option in the storyboard. All help is appreciated! Thanks
EDIT: I've been working slowly.. and have gotten this far, as you can see (link below) I have researched and found an example which I understand but in the example its creating a new alertview and all i want is for it to change the view..
pastebin.com/LSE9x4h