kcandr / IQLabelView

IQLabelView is used to add text overlay and resize and rotate it with single finger.
MIT License
112 stars 32 forks source link

Restrict labels to remain within a desired region/view. #4

Closed thedp closed 9 years ago

thedp commented 9 years ago

This is a very useful controller. It would be even more useful if it supported gesture restriction for a specified view.

kcandr commented 9 years ago

Hi @thedp, Can you explain in more detail? I'm sorry, but I don't quite understand what you mean by "gesture restriction".

thedp commented 9 years ago

I'll try to explain. Let's say I have a UIImageView, and I want the labels to be placed only within the region of that specific view. Currently, the controller allows the dragging of the label anywhere on the screen.

kcandr commented 9 years ago

Ok, I thought so.

TomorJM commented 9 years ago

i hope too

kcandr commented 9 years ago

@thedp I have added property enableMoveRestriction in last version and update demo