iPhone UItextField add image? -
I have to add a picture (PNG) to UITEPlayfield. Anyone have any ideas?
Thank you!
Balaz
UITextField * myTextField = [[UITextField alloc] init ]; [MyTextField setRightViewMode: UITextFieldViewModeAlways]; MyTextField.rightView = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @ "image.png"]];
Comments
Post a Comment