• 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
Programmatically pinch a UIView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatically pinch a UIView


  • Subject: Programmatically pinch a UIView
  • From: Carl Hoefs <email@hidden>
  • Date: Wed, 11 May 2016 13:32:00 -0700

In iOS 9.3, I have a UIView that displays a graph, and the view is pinchable. That works fine but I want to programmatically pinch the UIView so the default display initially shows the graph a bit smaller. How can I do this? Alternately, I've tried setting self.view.contentScaleFactor but this property seems to have no effect.
-Carl


_______________________________________________

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


  • Follow-Ups:
    • Re: Programmatically pinch a UIView
      • From: David Duncan <email@hidden>
  • Prev by Date: Re: Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior
  • Next by Date: Re: Programmatically pinch a UIView
  • Previous by thread: Re: Attempting to load the view of a view controller while it is deallocating is not allowed and may result in undefined behavior
  • Next by thread: Re: Programmatically pinch a UIView
  • Index(es):
    • Date
    • Thread