Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Sometimes we need to display HTML data to UIlabel for this we have to change into NSString, otherwise, we have to use web view for displaying data without loss of any original data. when we display HTML content to UILabel then we have to calculate its length also otherwise we can’t set another view on the bottom of UILabel.
Example:
1: here htmlData contains your HTML content coming from the server.
2: calculate height of UILabel : shortDescription.frame.size.height;
it will return actual height of UIlabel.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.