views:

19

answers:

0

Hi guys,

I currently am translating/transforming my UIView. I need to prevent a UIView from going out, e.g. prevent users from seeing the background behind when they drag the UIView. Something like the bounces when you go out of bounds in UIScrollView implements would be nice. Unfortunately I can't use a UIScrollView because I need to do custom drawing in that UIView. Anyone can help out here? Thanks.