• 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
Creating non-scaling markers like maps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating non-scaling markers like maps


  • Subject: Creating non-scaling markers like maps
  • From: Rick Mann <email@hidden>
  • Date: Mon, 08 Jul 2013 17:54:05 -0700

I have a UIScrollView that shows an image we generate. On top of that I create a few marker UIViews. I'd like to allow pinch-zooming of the image view, and have the markers' positions scale accordingly, but not have the markers themselves change size.

What's the right way to do this? Set their transforms each time the UIScrollView is zoomed to scale with the inverse of the zoom scale?

--
Rick




_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Prev by Date: Re: NSOutlineViews and Mountain Lion
  • Next by Date: Re: The cost of using objects rather than plain C variables
  • Previous by thread: Re: Leak when "drawing too fast"
  • Next by thread: Cocoaheads Lake Forest meets this Wednesday, 7/10, at 7pm
  • Index(es):
    • Date
    • Thread