You can clone with
HTTPS or Subversion.
I tried to use punchScrollView in UINavigationController (based on your Example project). When I clicked the Next Page button and got a "EXC BAD_ACCESS" crash.
beak point at " [self loadPages];"
Thanks in advance!
looks like that you are dragging a page when pushing a new controller, you should remove yourself as delegate and datasource from punchscrollview in dealloc
self.scrollview.punchDataSource = nil;
self.scrollview.punchDelegate = nil;
I do as you told, thing seems better. but only "Page 0 In Section 0" and "Page 1 In Section 0" got be showed. I continued drag 4 times, and got crash at
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
So, Can you give me a example which can work in UINavigation.
Thank in advance!
I should use
self.window.rootViewController = nvc;
[self.window addSubview:[nvc view]];
No crash, nat more