• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Moving ImageView's origin within a ScrollView to top-left
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Moving ImageView's origin within a ScrollView to top-left


  • Subject: Moving ImageView's origin within a ScrollView to top-left
  • From: Dan Posluns <email@hidden>
  • Date: Tue, 16 Sep 2003 01:47:08 -0400

I have done an exhaustive search on the Web and in Apple's docs and can't seem to figure out how this is supposed to be done.

If I subclass the ImageView and overwrite the isFlipped method to return YES, my image simply disappears. I have been unable to figure out where it disappears to.

If I subclass the ScrollView and overwrite the isFlipped method, nothing happens.

I read somewhere that I should subclass the ClipView and overwrite its method, but I can't figure out how to change the class of my ScrollView's associated contentView to the new subclass, since I can't access the ClipView in IB.

Other sources said I should modify the origin of the frame or bounds of the contentView (which I can do programatically), but this does not appear to have any effect.

Is there a definitive (and hopefully simple) method for doing this? I am surprised at how difficult I'm finding it to find documentation on what I would expect to be a frequent requirement for many apps.

Thanks in advance,

Dan.

--
Dan Posluns, B. Eng. & Scty. (Software Engineering and Society)
email@hidden - ICQ: 35758902
http://www.danposluns.com

"Only when the last tree has been cut down, only when the last river has been poisoned, only when the last fish has been caught - only then will you realize that money cannot be eaten."
- Cree prophecy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Creating directories if they don't exist
  • Next by Date: Re: QuickTime stops to play
  • Previous by thread: Re: Creating directories if they don't exist
  • Next by thread: Displaying image or icon in the title bar of a window.
  • Index(es):
    • Date
    • Thread