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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:07:02+00:00 2026-05-12T23:07:02+00:00

For some reason, when I am using the iPhone simulator, all of my text

  • 0

For some reason, when I am using the iPhone simulator, all of my text in my tableview cells displays correctly. However, when I publish to the device, the text inside of the cell is shifted up to almost outside of the bounds of the cell.

Any ideas as to why this would be happening on the device and not on the simulator?

  • 1 1 Answer
  • 1 View
  • 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-12T23:07:03+00:00Added an answer on May 12, 2026 at 11:07 pm

    This happened to me some time ago while inheriting from UITableViewCell. I don’t know if this is your case or you are just using a standard UITableViewCell. I fixed it by overriding layoutSubviews and using the UITableViewCell’s contentView as reference, here is a sample:

    - (void)layoutSubviews {
        [super layoutSubviews];
        CGRect f = self.contentView.frame;
    
        [name setFrame:CGRectMake(10, f.origin.y+5, f.size.width - 10 - 90, 20)];
        [distance setFrame:CGRectMake(f.size.width - 80, f.origin.y+5, 80, 18)];
        [address setFrame:CGRectMake(10, f.origin.y + 25, f.size.width - 10, 15)];
        [extras setFrame:CGRectMake(10, f.origin.y + 41, f.size.width - 10, 15)];
    }
    

    hope it helps!

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

Sidebar

Related Questions

I just installed FuzzyFinder for gvim, though for some reason it's using an ultra
For some reason when I generate this using jquery to fill in my table.
For some reason, Vim keeps using soft-tabs (tabs as spaces) everytime I'm working on
I'm using selenium with IE 7,8,9 and for some reason, some CSS 3 locators
I am using Visual studio 2008 and for some reason when I started today
I am using IntelliJ for my Android development and for some reason it is
For some reason that I don't understand, video websites do not play when using
Im using oslib with the pspsdk toolchain and for some reason this doesnt work
I am trying to validate email using javascript but for some reason it is
I have just tried using the NSArchiver but for some reason I am getting

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.