iphone - how to display an icon or image in a uilabel or uitextview(uitextfield) -


Can anyone UILabel display an icon or image? ?
I was creating a chat application, which needs to show an icon or image or custom image in UILabel or UITextField so that an expression or picture can be displayed . How to do this

  UITED Viv * text view = [[UITEX VAVE ALLOCK] initWithFrame: self View.frame]; TextView.text = @ "Your Text"; UIImageView * imgView = [[UIImageView alloc] initWithFrame: textView.frame]; ImgView.image = [UIImage imageNamed: @ "yourImage.png"]; [Self.view addSubview: imgView]; [IMView Aid Sewview: IMView];    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -