Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to push from other View ? #13

Open
BhaveshDhaduk opened this issue Mar 3, 2015 · 1 comment
Open

How to push from other View ? #13

BhaveshDhaduk opened this issue Mar 3, 2015 · 1 comment

Comments

@BhaveshDhaduk
Copy link

Hello,

In you demo you are using XHTwitterPaggingViewer from start of the application (First View Controller) and declare in didFinishLaunchingWithOptions.

As I am doing below hierarchy in StoryBoard.
UINavigationController -> UIViewController -> UIViewController - > XHTwitterPaggingViewer

For this I am doing in ViewDidLoad of second VC

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main_iPhone" bundle:nil];

XHTwitterPaggingViewer *twitterPaggingViewer = [storyboard instantiateViewControllerWithIdentifier:@"XHTwitterPaggingViewer"];

XHTableViewController *tableViewController1 = [storyboard instantiateViewControllerWithIdentifier:@"TableViewController1"];
XHTableViewController *tableViewController2 = [storyboard instantiateViewControllerWithIdentifier:@"TableViewController2"];

twitterPaggingViewer.viewControllers = @[tableViewController1, tableViewController2];

But i am getting crash

error

Please provide you feedback for this, how can I load from something inner view controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants