質問

On an iPhone, in the standard messaging app, the text bubble will keep going up even after it has seemingly met the edge-of-the-screen limit, if you keep pushing it with two fingers.

What is allowing that to happen?

How would I replicate that so my code isn't so "fixed" and just stops exactly at the variable where it's supposed to?

Also, is there a name for the "bouncy" text physics that we see in android and iOS?

役に立ちましたか?

解決 2

Don't make a boundary - make a constraint.

Is it the case that you can't push the bubble 'outside of the screen', or is it more that you can't drag it further than the initial drag point?

他のヒント

UIKit Dynamics is the high level name. http://www.doubleencore.com/2013/09/ios-7-uikit-dynamics/

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top