-
Notifications
You must be signed in to change notification settings - Fork 146
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
作者你好 #8
Comments
@Wbqqqq 你自定义一个animator,并添加一个标识符,在pop动画的逻辑中根据标识符做两套动画就好了,不过两种手势的话就要看你具体的需求了,比如手势方向之类的,可能需要修改手势控制的部分代码逻辑 |
好的好的 跟我想的差不多 感谢你的代码 提供思路 最后,标识符的属性做到哪里比较好? 写在vc可以嘛 |
标识符的属性当然是放在animator中啊 |
我在测试过程中发现, 手动滑动pop时, 一下滑很多 百分比会从0 直接跳到很高 然后一下子拉开很多 不能算很流畅,很丝滑。 我自己demo写个拖拉手势就很顺滑 , 不知道是不是手势问题吗 。 |
作者你好, https://github.com/PeteC/InteractiveViewControllerTransitions 这份demo 他在手势滑动过程中的操作更加优雅,希望对你有帮助 感谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我有几个问题想咨询你一下, 如果我想在一个页面中加入两种pop动画和手势,我该如何操作,能否给点思路呢 不胜感谢!! 353351363 我的qq 如果方便的话 想和你私下讨论。感谢!。。
The text was updated successfully, but these errors were encountered: