cwRichardKim / RKSwipeBetweenViewControllers

Swipe between ViewControllers like in the Spotify or Twitter app with an interactive Segmented Control in the Navigation Bar
MIT License
1.67k stars 156 forks source link

how can i push the RKSwipeBetweenViewControllers in a uinavigationviewcontroller #33

Open holyen opened 8 years ago

holyen commented 8 years ago

when i push the object of RKSwipeBetweenViewControllers it crash. code: RKSwipeBetweenViewControllers *swipeVC = [RKSwipeBetweenViewControllers newSwipeBetweenViewControllers]; [nav_tweet.viewControllerArray addObjectsFromArray:@[[TimelineViewController newTimelineViewControllerWithType:TimelineViewControllerType_Nearby], [TimelineViewController newTimelineViewControllerWithType:TimelineViewControllerType_Hot]]]; nav_tweet.buttonText = @[@"A", @"B"]; [self.navigationController pushViewController:nav_tweet animated:YES];

then it crash log is : NSScanner: nil string argument how to fix it ?