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. >

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%'?

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

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

Re: Programmatically pinch a UIView

2016-05-11 Thread Carl Hoefs
gt; wrote: >>> >>>> On May 11, 2016, at 1:32 PM, Carl Hoefs <newsli...@autonomy.caltech.edu> >>>> wrote: >>>> >>>> In iOS 9.3, I have a UIView that displays a graph, and the view is >>>> pinchable. That works fine but

Re: Programmatically pinch a UIView

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

Re: Programmatically pinch a UIView

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

Re: Programmatically pinch a UIView

2016-05-11 Thread David Duncan
> On May 11, 2016, at 1:32 PM, Carl Hoefs <newsli...@autonomy.caltech.edu> > 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 initial

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