Showing posts with label uiimageview. Show all posts
Showing posts with label uiimageview. Show all posts

Monday, June 4, 2012

Dispelling the UIImage imageNamed: FUD


I see a lot of people saying imageNamed is bad but equal numbers of people saying the performance is good - especially when rendering UITableView s. See this SO question for example or this article on iPhoneDeveloperTips.com

Sunday, May 20, 2012

Add rounded corners to UIImageView


I would like to add some rounded corners to all of the UIImageViews in my project. I have already got the code working, but am having to apply it to every image; should I subclass UIImageView to add this? If so, can someone give me some pointers as to how to do this?

Friday, April 27, 2012

Monday, April 16, 2012

Wednesday, February 29, 2012

Preloading a large image


I have an image with the dimensions of 5534 × 3803, and size of 2.4mb. The UIView references notes that:

How to detect particular UIImageView for UITouch Events


I've added 5 UIImageView dynamically and filled it with different images, what I am trying to do is "Allow user to set position for any UIImageView", for that I used

Tuesday, February 28, 2012

How to detect particular UIImageView for UITouch Events


I've added 5 UIImageView dynamically and filled it with different images, what I am trying to do is "Allow user to set position for any UIImageView", for that I used

Saturday, February 25, 2012

Blurry images when running my application on iPhone


So, I was creating an application for iOS with Xcode 4.2.1, I don't know why all of my icons are blurry, they are in high definition, but for some reason they looks blurry and in a bad quality.

Friday, February 24, 2012

Dynamically use UIViewContentModeScaleAspectFit and UIViewContentModeScaleAspectFill


I am trying to display images on the iPhone in the same way that the Photo app does. It seems to be able to dynamically select UIViewContentModeScaleAspectFit or UIViewContentModeScaleAspectFill depending on what is appropriate for the image. Where possible I would like images to appear full screen but if not then I would like them to appear UIViewContentModeScaleAspectFit