I have a UITextField with a set of background images. The background image consists of a border with an icon on the left side. I would like to move the cursor so that editing starts after the icon appears. How to do it fast?
edit: Would it be easier to have a custom border as a uimageview image and a text box located above it and attached to it? If so, what would be the best way to do this?
if you want the rest of the add-on in TextField to use only the code below,
youTextFiled.layer.sublayerTransform = CATransform3DMakeTranslation(5, 0, 0);
The amount of left padding that you can change by changing the value of the first argument.