Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
> On May 11, 2016, at 2:33 PM, Quincey Morris > wrote: > > On May 11, 2016, at 14:14 , Carl Hoefs > wrote: >> >> the UIView that's currently there handles pinch zoom in/out fine. > > You should at this point explain what mechanism you’re using to do th

Re: Programmatically pinch a UIView

2016-05-11 Thread Quincey Morris
On May 11, 2016, at 14:14 , Carl Hoefs wrote: > > the UIView that's currently there handles pinch zoom in/out fine. You should at this point explain what mechanism you’re using to do this. > Is there a way to programmatically cause a 'pinch zoom out by 10%'? The result of applying a “pinch” ge

Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
> On May 11, 2016, at 2:08 PM, Quincey Morris > wrote: > > On May 11, 2016, at 13:56 , Carl Hoefs > wrote: >> >> I just tried UIScrollView & -setZoomScale:. No effect. > > I think you’re flailing now. ;) > >> I was hoping there was a way to initially p

Re: Programmatically pinch a UIView

2016-05-11 Thread Quincey Morris
On May 11, 2016, at 13:56 , Carl Hoefs wrote: > > I just tried UIScrollView & -setZoomScale:. No effect. I think you’re flailing now. ;) > I was hoping there was a way to initially programmatically pinch the view > down by 10%, so the view's frame isn't reduced as well You can’t make a view s

Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
> On May 11, 2016, at 1:51 PM, Carl Hoefs > wrote: > > On May 11, 2016, at 1:45 PM, Carl Hoefs > wrote: >> >>> On May 11, 2016, at 1:38 PM, David Duncan wrote: >>> On May 11, 2016, at 1:32 PM, Carl Hoefs wrote: In iOS 9.3, I have a UIView that displays a graph, and t

Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
On May 11, 2016, at 1:45 PM, Carl Hoefs wrote: > >> On May 11, 2016, at 1:38 PM, David Duncan wrote: >> >>> On May 11, 2016, at 1:32 PM, Carl Hoefs >>> wrote: >>> >>> In iOS 9.3, I have a UIView that displays a graph, and the view is >>> pinchable. That works fine but I want to programmatic

Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
> On May 11, 2016, at 1:38 PM, David Duncan wrote: > >> On May 11, 2016, at 1:32 PM, Carl Hoefs >> wrote: >> >> 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 initiall

Re: Programmatically pinch a UIView

2016-05-11 Thread David Duncan
> On May 11, 2016, at 1:32 PM, Carl Hoefs > wrote: > > 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? > Alterna

Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
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 p