-
Notifications
You must be signed in to change notification settings - Fork 144
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
TTSlidingPagesController reloadPages doesnt work #41
Comments
Hey! Your code looks very strange. How come you're storing your view controllers in user defaults? That seems like a very odd thing to do? I would probably try and avoid doing that if possible. But in either case, I can't see where you actually add anything to But in terms of figuring out what's going on here, I would stick a breakpoint on Thanks, |
Any update on this reload pages does not seems to work. |
Hi Everyone, |
It doesnt remove the intial view added while i load another view to it.
initially i have set an array with 3 viewcontroller classes and added to it and saved in userdefault
-(int)numberOfPagesForSlidingPagesViewController:(TTScrollSlidingPagesController *)source{
return 3; //just return 7 pages as an example
}
-(TTSlidingPage )pageForSlidingPagesViewController:(TTScrollSlidingPagesController)source atIndex:(int)index{
}
from another view controller class i called a method
-(void)MethodSetUp{
}
while reloading it doesnt calls its datasource method say
-(int)numberOfPagesForSlidingPagesViewController:(TTScrollSlidingPagesController *)source;
-(TTSlidingPage )pageForSlidingPagesViewController:(TTScrollSlidingPagesController)source atIndex:(int)index;
-(TTSlidingPageTitle )titleForSlidingPagesViewController:(TTScrollSlidingPagesController)source atIndex:(int)index;
The text was updated successfully, but these errors were encountered: