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

  • Home
  • SEARCH
  • 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 6170453
In Process

The Archive Base Latest Questions

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

I started with a Universal app project but have changed it to iPhone only

  • 0

I started with a Universal app project but have changed it to iPhone only everything works fine in iPad (both pixel doubling mode and 1x mode) except for the following line

in

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

......

        UIImageView* iview = (UIImageView*)[cell viewWithTag:405];
    [iview setImage:[UIImage imageNamed:[NSString stringWithFormat:@"searchlist_%@Thumb", c.Name]]];    

}

the image simply doesn’t show up, what could be different on iPad?

the cell is pre configured in nib and is being loaded properly and other labels are being set properly

I’m also getting these assertions in console

Assertion failed: (cls), function getName, file /SourceCache/objc4_Sim/objc4-427.1.1/runtime/objc-runtime-new.m, line 3939.

  • 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-23T23:02:20+00:00Added an answer on May 23, 2026 at 11:02 pm

    The problem could be caused by any number of things. First, reformat your code so it looks like this:

    UIImageView* iview = (UIImageView*)[cell viewWithTag:405];
    NSString *imageName = [NSString stringWithFormat:@"searchlist_%@Thumb", c.Name];
    UIImage *image = [UIImage imageNamed:imageName] 
    [iview setImage:image];    
    

    Then set a breakpoint on the last line. In the debugger you can check the values of iview, imageName, and image. Which one of those has an unexpected value will give you a clue where to look for the source of the problem.

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

Sidebar

Related Questions

I started by creating a universal window based app. Starting with the iPhone version
I've been playing around with upgrading from an iPhone app to a Universal application,
I'm working on a new app that I want to be universal for the
When I started my universal application, I thought the one target option would be
When my app starts, it loops through adding values of random numbers with keys
How can you tell whether python has been started with the -i flag? According
I am developing a simple WinAPI application and started from writing my own assertion
Recently when coding and HTML email, I noticed that Yahoo! started hijacking certain links
Since AIM 7 beta 2, and now onto AIM 7 beta 6, and GM
I am looking for a Java library that handles conversion to/from GPS Time .

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.