Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 11-12-2009, 03:55 PM   #10 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 900
jsd is on a distinguished road
Default

Quote:
Originally Posted by trilithium View Post
I click on a button which should diplay a new view with a larger version of the image on the button - When I run the simulator, the first button press always results in an image not being displayed in the new view - However if I go back and click on the same button (or indeed another button) for all subsequent clicks, the correct image is displayed.
is selectSlideView.imageView loaded from a nib? if so, that's the problem. the view isn't loaded the first time through.

try putting
[selectSlideView view];
before setting the imageview to force the nib loading to happen.
jsd is offline   Reply With Quote
 

» Advertisements
» Online Users: 577
17 members and 560 guests
.Snipe, djbrooks111, djohnson, Domele, gordo26, iGamesDev, mediaspree, ndhieuvn212, nguyenhieu129, stevenkik, SuperDietGenius, Techgirl-52, tjfallon, tknp, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,320
Threads: 93,989
Posts: 402,413
Top Poster: BrianSlick (7,978)
Welcome to our newest member, JessaWilson
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:53 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.