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
Post a Comment