• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Image question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image question


  • Subject: Image question
  • From: Robert McKeever <email@hidden>
  • Date: Wed, 20 Apr 2011 10:37:28 -0700

Hi all. I'm relatively new to Xcode, but 41 years of writing code, so...

Writing an iPad app. It connects to a SOAP server. I get an image as one of the returned items.

I have a UIImageView in IB.

I've tried:

[currentDataDict setValue: patientImage.image forKey: currentElementName];

Compiles. runs, but no image.

I tried:

[currentDataDict setValue: currentText forKey: currentElementName];
patientImage.image = (UIImage *)currentText;

Compiles. runs, and crashes trying to assign the text block to the image.

NSLog confirms that the image has arrived in the iPad nicely, I just can't get it to display.

_________________________________________
Bob McKeever                      http://www.mswl.com
McKeever's Software Wizardry
Maple Ridge, B.C.
email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Xcode 4 excruciatingly unresponsive
  • Next by Date: Re: Image question
  • Previous by thread: Corrected PropertyMaster Link
  • Next by thread: Re: Image question
  • Index(es):
    • Date
    • Thread