I have a UITextField object with the text property set to \"hi\". However these two lines have no affect on where \"hi\" is located
myUITextObject.contentVe
Another way to do it, is by using the storyboard.
In fact there is a Vertical and Horizontal Control that you can use for align your element inside the UITextField. In the case above that align the text to the top left:
UITextField
Hope it helps,