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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

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