We are using Coreplot to draw Charts in our IOS application, however we can't make the charts support zooming or panning. We are still running the application on the emulator didn't install on a real device yet because we are waiting for the Developer ID from Apple. Does any one know if Coreplot support these features?
Thanks in advance
Short answer: yes, Core Plot supports zooming and panning.
You have to set the allowsUserInteraction bool of your plot space to YES.
See this link for more information.
Also, if you want to test zooming in the simulator, you can do this by pressing the alt button and click+drag with your mouse. Panning is just normal click+drag.
Related
My team and I are working on an iPhone app that uses Apple Mapkit. We are using Xcode 5 as the IDE. A few weeks ago, when we were testing it, the 3d buildings view displayed if the user zoomed in close enough on the map. However, when we try to test it now, the map display stays two-dimensional no matter how much we zoom in.
Is there some 3d map setting we could have accidentally turned off?
Thanks in advance for your help!
Yes, check out mapView.showsBuildings.
I am developing an iPhone Application, now I want to add Zoom in - Zoom out feature in some of my views (I want to add zoom effect for UITableview and UITextview). Please provide me some good tutorials or some working codes.
Thank you.
The best way to add a Zoom functionality in your app is to use a UIScrollView.
It supports zooming an panning.
Here is some sample code from Apple:
ZoomingPDFViewer
Is it possible to handle the animation of moving icons in an iPhone application? If so, how?
As far as I know, you cannot. The icon motion animation is generated by iOS based on the still icon, and you have no control of it.
I think without .gif image you can not make animated icon and ios will not support that so you have no control on it.
I have two of my apps rejected by Apple and sitting on the "shelves of approval" for 2 months, because both apps were using UIImagePickerController and I dared to add a rectangle on top of the UIImagePickerController, using something as
[picker.view addSubView:rectangle];
On the other hand, applications like CameraZoom and others, ditch the UIImagePickerController regular appearance completely and has its own interface, with custom graphics and sliders on top of the camera preview and even with the ability to zoom the preview image in real-time.
My question is: how can one do that and not be crucified by Apple?
thanks for any insight!
As far as I know, it's been hit and miss. Some apps get through, some don't, and it's really quite annoying (as is app approval in general).
In SDK 3.1, there is a new Camera Overlay concept, where you can overlay your own view on top of the camera view. You can find more documentation on the iPhone Developer website (since it is 3.1, it is under NDA).
I am just curious as to how current ZOOM-Camera Apps on the AppStore are implemented (Are they using undocumented APIs?)
They're probably just cropping into a section of a photo, and interpolating it bigger. Since there's no hardware zoom in the phone, you have to "fake" it.