Displaying a part of image

1 view
Skip to first unread message

TT

unread,
Mar 8, 2010, 7:02:10 AM3/8/10
to iPhone Application Development Auditors
I open my image file and add it to my imageView:
UIImage *image = [UIImage imageNamed:@"image.jpg"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];

Question is, how could I display only a part of my image in my
imageView (and another part in another imageView)?

-TT-

TT

unread,
Mar 11, 2010, 9:18:45 AM3/11/10
to iPhone Application Development Auditors
Anyone?

Ken Kassing

unread,
Mar 11, 2010, 11:32:42 AM3/11/10
to iphone-appd...@googlegroups.com
Just a guess here, but the image viewer allows you to use finger input to zoom into an image. I wonder if you can set that zoom position manually.

Thanks
-Ken

> --
> You received this message because you are subscribed to the Google Groups "iPhone Application Development Auditors" group.
> To post to this group, send email to iphone-appd...@googlegroups.com.
> To unsubscribe from this group, send email to iphone-appdev-aud...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iphone-appdev-auditors?hl=en.
>

Reply all
Reply to author
Forward
0 new messages