UIScrollView Pinch ZoomIn/out at certain location - iphone

I want to make application like Solar Wether application. Please see this video.
I don't want code but want to know how can we achieve functionality like zoom in/out in this application.
Please suggest me how to do this. I had made some code and done some R&D work and found this solution but want to do exact animation like this app.

You can subclass UIScrollView and use all the touch events like touchesended,touchesbegan, touchesmoved.
If you want a specific location of that touch you can get the point where the touch happens and call your custom action.

Related

How to make full screen zoom feature with scrolling multiple images with TNImageSliderViewController?

I am losing most of my work time stucking at scrollview,autolayout issues.And now,when i found TNImageSliderViewController.I see that i have hope in scrolling images with no autolayout issue.Thanks to the developer who write TNImageSliderViewController.But,after that I want to do another thing which still keep making me stuck.I tried many tutorial and video and which keep making me stuck.
Here is what i need to do...
1.When I clicked one of my image in scrollview,i want to see full screen of that images i click at another view.
2.That another view should also have capabilities like TNImageSliderViewController which we can slide images.
3.I want to add zoom with pinch or tapped zoom at full screen image that i clicked.
Any Idea?or suggestion or library which it can do it easily and completely with no autolayout issue which we can rotate as we like?
Please help...Please,I really need help.Also all newbie like us might want the same answer like me.

How to replicate the CNN iOS app pull down menu

Does anyone know how CNN is doing their top pull down menu?
It looks like a UITableView that is called with a touch drag event but wasn't sure. Googled various keywords but was not able to turn anything up. Just looking for some guidance on how to replicate this behavior.
I've no idea how it's actually done, but I know how I would do it: any view can sit completely or partially offscreen and be dragged onscreen by the user in the usual ways (e.g. a swipe or pan gesture recognizer). There's nothing special about that.
I guess they are doing something like https://github.com/mikefrederick/MFSideMenu
You have to customize "MFSideMenu" a lot though. If you dont want to show this menu on every view you need to disable UIGestureRecognizerDelegate on that view.
There is also something like https://www.cocoacontrols.com/controls/pullableview but you may need to add UIGestureRecognizer to this class.

How to use UIPinchGestureRecognizer

I have made a simple web browser for the iPhone but I would really like to be able to pinch to zoom in and out with the UIPinchGestureRecognizer, but I don't know how to use it. Could someone explain to me how to implement it in my code? If you have a link to a good explanation of this that would be very much appreciated as well.
Why do you need to implement it at all? UIWebView already supports pinch-zooming natively.
For all the stuff you need for gesture recognizer's, look here. Basically, you set up a gesture for your view, and add a selector method that would get called if the view recognizes that gesture. In this case, when it detects a pinch, you would tell the view to change size to your liking.
This, however, is the hard way of doing it though, as the pinch gesture is already associated with a UIWebView (not to mention, the MKMapView as well). You should probably look at this other post to see what you need to do. Any search on google will also point you in the right direction. Hope that helps!

iPhone touch events for any control

I'm using the core-plot library to do some plotting, and would like to implement some touch control on the graph. Problem is, the core-plot graph view doesn't seem to respond to touches. I've read many places that it's possible to place an invisible control over another control and use that control to give the underlying control touch events. Problem is, I can't figure out how to implement it. Nothing seems to be working. Is there some way to specifically assign a control your own touch events and to handle them separately from the other controls? Some source code showing how this should be set up properly would be awesome.
Just a simple question before I go to sleep (it is past midnight in Europe :)). Did you try adding subview to your graph with backgroundColor = [UIColor clearColor] and attaching a UIGestureRecognizer to it?

how to implement zoom and pinch zoom effect in application?

I have implemented one photo application in which i want to implement zoom and pinch zoom effect same as default photo application in iphone.How it possible please help me for this query.thanks in advance.
The UIScrollView component takes care of functionality like that.
Try starting out here :UIScrollView Reference
The ScrollViewSuite (link in the reference) has a example that you can use.