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

The Archive Base Latest Questions

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

So I have things nested like this in a nib: UIViewController | |-UIView (container

  • 0

So I have things nested like this in a nib:

UIViewController
|
|-UIView (container for some about text UILabel)
|    |
|    UILabel
|
UIScrollView (makes image scalable)
    |
    UIImageView

I’m trying to load the image of the UIImageView programmatically in another view controller, then pushing the new UIViewController onto a UINavigationController. Everything works fine, but when I assign the image, nothing appears on the new view.

So in a connectionDidFinishLoading: I do this:

UIImage* image = [UIImage imageWithData:imageData];
MyImageController* imageController = [[MyImageController alloc] init];
imageController.title = expandImage.title;
imageController.imageView.image = image;
[self.navigationController pushViewController:imageController animated:YES];

Nothing shows up besides what I designed in the nib. Any help?

  • 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-25T23:30:13+00:00Added an answer on May 25, 2026 at 11:30 pm

    Try these solution for your problem:

    1.First of all, be sure that you get an image and you have an image data in the imageData variable.

    2.most likely this solution is what you are looking for. declare a variable in the MyImageController of type UIImage, and set the propriety and synthesize for it, then in your connectionDidFinishLoading code, set the returned image to the variable that you declare, and in the MyImageController assign the variable to the imageController.imageView.

    i hope that help you, and tell me what you got from these solution

    good luck.

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

Sidebar

Related Questions

I have html nested like so <div id=content> <div id=asection> <h1>Some Text</h1> </div> </div>
I have a nested list that looks like this: mylist = [['A;B', 'C'], ['D;E',
I have a huge mess of a nested list that looks something like this,
We already have things like static analysis that tells us what's wrong with our
For instance, let's say I have a User model. Users have things like logins,
I have some things in my app that I need to store, in order
OK, so things have progressed significantly with my DSL since I asked this question
I have heard positive things about Eclipse RCP (Rich Client Platform) - does Microsoft
I have a C++ key/value table that looks like this: class kvBucket { ...
I have a Excel CSV files with employee records in them. Something like this:

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.