Got a screenshot?  I'm having a hard time visualizing what you're doing.

On Aug 7, 2012, at 6:58 PM, Laurent Daudelin wrote:

> I've been trying to get my UITableView with custom UITableViewCells, each one 
> containing a different image and potentially each one having a different zoom 
> scale, but I'm seeing weird behavior and I'm starting to think that due to 
> the way UITableViewCells are reused, this might not be possible.
> 
> I have an array of NSDictionary that have one object containing the data of a 
> UIImage. I initially set the zoom scale so that the picture in each cell will 
> fit completely, scaling down the zoom of the UIScrollView embedding the 
> UIImageView.
> 
> However, when I start scrolling up and down, at some point, some images, 
> which initially appeared fine, all of a sudden appear all the way zoomed in. 
> I check the zoom factor in tableView:cellForRowAtIndexPath: when I configure 
> the cell that the UITableView is requesting and maybe I'm missing something, 
> but in each case, the zoom scale factor seems to be the same. However, on 
> screen, the image is clearly zoomed quite a bit. I started off from the 
> TapToZoom project part of the ZoomSuite sample.
> 
> Anybody knows if this would be possible or not? I'd hate wasting my time 
> beating a dead horse if, due to the nature of UITableView re-using 
> UITableViewCell, this would not be possible.
> 
> Any comment appreciated.
> 
> -Laurent.
> -- 
> Laurent Daudelin
> AIM/iChat/Skype:LaurentDaudelin                               
> http://www.nemesys-soft.com/
> Logiciels Nemesys Software                                    
> laur...@nemesys-soft.com
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
> 
> This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to