Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8032007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T01:16:02+00:00 2026-06-05T01:16:02+00:00

I want to create like following Sample text in UILabel.. Muthu: Hi I am

  • 0

I want to create like following Sample text in UILabel..

Muthu: Hi I am on the way to office..
wait for the few mins…

This type of text have UITableviewCustom cell have the UILabel.

How to create in the UILabel?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T01:16:04+00:00Added an answer on June 5, 2026 at 1:16 am

    Use the following code and include the .h and .m files from the following link “https://github.com/AliSoftware/OHAttributedLabel”.

    -(void)addTitleView{
    
        NSMutableAttributedString* attrStr = [NSMutableAttributedString attributedStringWithString:@"Muthu: Hi I am on the way to office..wait for the few mins..."];
        [attrStr setFont:[UIFont fontWithName:@"Verdana" size:16]];
        [attrStr setTextColor:[UIColor whiteColor]];
        [attrStr setFont:[UIFont fontWithName:@"Verdana-Bold" size:16] range:NSMakeRange(0,6)];
        
        OHAttributedLabel *titleLabel = [[OHAttributedLabel alloc] init];
        titleLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth;
        [titleLabel setFrame:CGRectMake(0, 0, 200, 35)];
        [titleLabel setBackgroundColor:[UIColor clearColor]];
        titleLabel.adjustsFontSizeToFitWidth = YES;
        titleLabel.attributedText = attrStr;
        titleLabel.textAlignment = UITextAlignmentJustify;
        [self.view addSubview:titleLabel];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a link like this: <a href=http://example.com>text</a> and replace the behavior
I want to create an application like this: http://collabedit.com/ What is the most efficient
When I create a web workers like the following... var w = new Worker(./Scripts/sample.js);
I want to create something like a leaflet/magazine using Latex. Is it possible to
Is there a open source meme tracker ? I want to create something like
I want to create an example like the image below but instead have a
I want to create one proc like below but it has error on syntax.
I want to create a table like myTable = { [0] = { [a]
I want to create whois class like that public class DomainInfo { public string
I want to create a route like //Widgets/PerformanceTable/['best' or 'worst' to sort by performance

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.