2017-06-28 4 views
0

私はSloppySwiper ライブラリを使用して全画面表示にスワイプし、正常に動作します。私が直面している問題は、最初のビューのコンテンツがTabBarの背後にある別のビューから戻ってくるときです。UIViewControllerの内容が後になったTabBarController

これを修正するにはどうすればよいですか?

ありがとうございます。

答えて

1

SSWAnimator.mクラスに

CGFloat toViewControllerXTranslation = - CGRectGetWidth([transitionContext containerView].bounds) * 0.3f; 
toViewController.view.bounds = [transitionContext containerView].bounds; 
toViewController.view.center = [transitionContext containerView].center; 
toViewController.view.transform = CGAffineTransformMakeTranslation(toViewControllerXTranslation, 0); 
をコメント次の行を実行します。
関連する問題