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 831741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T04:15:15+00:00 2026-05-15T04:15:15+00:00

I want to add a custom table to my iPhone app, that should look

  • 0

I want to add a custom table to my iPhone app, that should look and work like the one used in the facebook app showing the notifications. It should contain rows with links in it. The text should be black, while the tap-able parts should appear blue.

As a already figured out, labels only have one font, color and so on and you can’t mix styles within it, I would have to use different components. The tab-able text parts maybe UIButtons with custom style without any border.

I tried different approches to build the custom cell. I used Interface Builder, to layout components, but since the different parts have variable lengths they overlaid each other. I also tried to add instances of UIButton and UILabel as a subview to the cell’s contentView as descibed in Apple’s tutorial. The problem with this is that: The position and size of the components is fix and set when they get created using “initWithFrame:…”.

In a nutshell, I want to add the labels and buttons without a fix position or size, the buttons clickable and the cell height should automatically set according to the content.

Here is a screenshot of the Facebook’s App notifications view:
faceboo app notifications http://img84.imageshack.us/img84/4662/photodn.jpg

  • 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-05-15T04:15:16+00:00Added an answer on May 15, 2026 at 4:15 am

    Option 1: Use a UIWebview to display the text and format it as HTML. For the links, use a custom URL that sends back to your app which responds by displaying the appropriate view.

    Option 2: Use the NSString UIKit Additions to directly manage either the size of the labels or to draw the text into images which can function as buttons. In either case, you will use the addition’s methods to calculate the display size of the string in pixels and then adjust the size of the individual display view (label, button, image etc) as needed before the tableview’s delegate returns the cell to the tableview.

    Either options takes a lot of careful coding. It will be nice when the iPhoneOS supports attributed strings.

    Edit:

    It looks like Three20 has a styled text view. It also looks like you can put in tables and that it supports links. I haven’t used it but it may do what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to add a custom configuration section in my app.config file. Is there
I want to add a custom UIImageView to UISearchDisplayController's table view background and set
I want to add one new custom field to one page checkout in Magento.
I have very custom TableView like Add Contact View in iPhone's Contacts. I like
I have a gridview that it bind to a data table.I want to add
I want add my custom sidebar next right column all page. Please check this
I want to add custom jump list entries to my application in Windows 7.
I want to add custom attribute settings to a generated anchor link of Wordpress.
How to add custom field into MarketPress (Wordpress)? I want to add 2 custom
I am using C#.net I want to add custom edit/delete buttons to my GridView1

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.