Skip to content

CPImageView flickering when setting CPImage in @cappuccino

February 15, 2011

Are you, or is someone you know, suffering from CPImageView flickering? Read now for this no-obligation tip.

When creating a CPImage from a web resource, do not immediately set the image of a CPImageView to that image. You will may result in a flicker.

Instead set a delegate to the CPImage (e.g. [myImage setDelegate:self]) and then set the CPImageView’s image in the delegate method -(void)imageDidLoad:(CPImage)anImage

This should alleviate you and your loved ones from CPImageView flickering.

This was NOT a paid message by the Brotherhood of Post Atari 2600 Computing.

Advertisements

From → Tips & Tutorials

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: