I’m trying to make resizable UIViews of which users can resize (code is done for that) and drag it around. Now I need to make it look like what it looks like in IB, with circles at its corners to drag, and dotted lines as borders of the UIView.
How do you think I should go about doing this?
Many thanks.
The proper way to do that is to override the
drawRect:method of the UIView subclass (your draggable views in this case.)You can see some instructions for doing custom drawing at: drawrect:
Good luck.