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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -