Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
Hi all,

I'm wondering how I can make rootSeque's from my 'rootViewController' to other ViewControllers, without having actual buttons pointing there.

I have an custom seque class : rootSeque.

For sample I want to make a seque from my rootView to homeView, using the rootSeque.

How can I perform this ?

Instead of buttons I generate an UITableView with rows, which act like buttons.
didSelectRowAtIndexPath

i want to do like:
[self performSegueWithIdentifier: [tViews objectAtIndex: indexPath.row] sender: @"" ];

I.e. tViews objectAtIndex == homeView

But as the physical seque from the rootView to the homeView is not there (in storyboard) it will crash out.
Can someone help me out??


----

Resolved:
By rightclicking and dragging the 'Yellow icon of the ViewController of my 'rootView' to other views, I can make an seque with identifier and select an class.

Which results in an seque to other viewcontrolles without any button.

This problem has been solved by this.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.