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

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -