当您在 iOS 7 的消息"应用程序中进行对话时,如果向上或向下滚动,您会注意到气泡和更多消息发送时间的文本会弹回原位.
When you are in a conversation within the Messages app in iOS 7, if you scroll up or down you will notice that the bubbles and more so the text saying when the messages were sent, will bounce into place.
我正在尝试在我自己的表视图中复制它,但没有找到方法.
I am trying to replicate this in my own table view, but am not finding a way to do it.
我假设它正在使用 UIDynamics,但我不确定如何将其与滚动和内容弹跳结合起来.
I assume it is using UIDynamics, but I am not sure how to tie that in with the scrolling and the content bouncing.
任何帮助将不胜感激
推荐答案如果你想自己复制那个效果,你需要 UIKit Dynamics.我自己对这种效果很感兴趣,今年在 WWDC 上对此进行了解释.
If you want to replicate that effect yourself, you need UIKit Dynamics. I was interested in that effect myself and it was explained at WWDC this year.
看看 WWDC Session 217:Exploring Scroll Views on iOS 7
Take a look at WWDC Session 217: Exploring Scroll Views on iOS 7
网上也有read to use components,比如THSpringyCollectionView
There are also read to use components on the internet, such as THSpringyCollectionView
更多推荐
如何在 iOS 7 中复制消息弹跳气泡
发布评论