/ Published in: Objective C

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// NOTE: this uses place holders. // PART 1 - update url of path to the image // PART 2 - update the variable reference to the UIImageView object // ----------------------------------------------- // ===== PART 1 ===== if (imgURL != nil) { // Image was loaded successfully. // ===== PART 2 ===== [${part 2 UIImageView Ref:myMainImg} setImage:imgURL]; // ===== PART 2 ===== [${part 2 UIImageView Ref:myMainImg} setUserInteractionEnabled:NO]; [imgURL release]; // Release the image now that we have a UIImageView that contains it. }
Comments
