I am trying to add swipe to change view in tab app. How to view the page.
So far, my solution works, but I get scrolling crashes, I assume that these are view.frame ( CGRectMake ) CGRectMake that cause these black glitches, but I don't know why this is happening.
The device is not as bad as a simulator, but still visible and not smooth.

so in my root controller tabbar ( TabViewController : UITabBarController )
then
-(void)viewDidAppear:(BOOL)animated { XCDeviceType deviceType = [UIViewUtils currentDeviceType]; swipeRatio = 320; switch (deviceType) { case XCiPhone4: swipeRatio = 320; break; case XCiPhone5: swipeRatio = 320; break; case XCiPhone6: swipeRatio = 375; break; case XCiPhone6Plus: swipeRatio = 414; break; default: swipeRatio = 320; break; }
then
-(void)panRecognized:(UIPanGestureRecognizer *)sender{ CGPoint distance = [sender translationInView: self.view]; if (sender.state == UIGestureRecognizerStateChanged) { if (distance.x > XCTabViewSwipeXAxisMax && distance.y > -XCTabViewSwipeYAxisMax && distance.y < XCTabViewSwipeYAxisMax) {
How can I make this animation smoother?
Also, when scrolling intensively, I get warnings about memory.
u.gen source share