ios7 - Slow down UISnapBehavior -


i using uisnapbehavior snapping liking. there way slow down? or in other words: there way adjust elasticity of object point should snap to?

i able solve attaching view uidynamicitembehavior , setting resistance property.

uidynamicitembehavior *dynamicitembehavior = [[uidynamicitembehavior alloc] initwithitems:@[ view ]]; dynamicitembehavior.resistance = 100; [animator addbehavior:dynamicitembehavior]; 

Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -