Im trying to make an ebook or an app for iPad at my work, which can allow the user to both double tap to zoom and from there pinch to zoom further. The double tap to zoom needs to have the effect that the picture goes from being a small picture to a fullscreen picture. When the picture is fullscreen, I want the user to have the opportunity to pinch to zoom at the fullscreen image. Just like you can on facebook.
But I don't know how to do this. I have tried several programs, and I'm almost giving up, but I can't, 'cause it's a part of my internship at a museum in Denmark, Europe. I have no budget.
I have been working in InDesign and iBooks Author. And I haven't found a solution yet. So therefore I'm asking for your help. I really hope you can help me. Can you please link to tutorial or a free program which can do what I (and the users) really want? Or maybe you have some really nice advices.
Thanks in advance
Mvh Julie, Denmark
To Detect double tap add TAPGesture in your view and to zoom (detect pinch to zoom) add Pinchtozoom gesture...
Related
In the simulator this does not seem to happen, because you can't tilt the simulator.
When I run a UIWebView on my device and tilt it seems to slide down and leave a gap of 44px, it seems to be the height of the NavigationBar at the top.
I don't have any code to post as I do not what is causing this.
When I go to another view and come back to this, the gap is gone as the iPhone didn't move between appearing.
Any ideas on what to do to stop this behavior?
I am using iOS 6 and Storyboard, if I can post anything to help, please let me know.
I have posted a screen shot from my device to show what is actually happen.
Well this can happen because of Auto Layout there might be a constraint that set it 44px below,
Check it out
Hope this will help ,
Further you can get the basic idea about AutoLayout feature from Ray Wenderlitch site http://www.raywenderlich.com/20881/beginning-auto-layout-part-1-of-2
Has anyone used the Instagram app lately?
It has a very neat feature, where, while you are using camera, you can touch the 'eye' button, which pops up a small scrollable UI area that contains different filters that can be applied to the camera video.
Can anyone help me on what kind of UI element I should use to get such popup?
Thanks.
The one on the Instagram app looks like a simple UIScrollView with custom subviews added in. What these subviews contain and how they look is completely up to you and your design.
I searched lot in google and tried my level best but, still i cant fix this issue. I want to disable or hide the UIImagePickerController Camera shutter when it is opening.
I searched in google and got advice to use AVCaptureSession. But, in my app i used CustomOverlayView in UIImagePickerController Camera with some buttons. In this case i want to disable or stop to show the Apple's Camera shutter. Simply the user won't to see the camera shutter when they pick the Camera UIImagePickerController. How can i do this? Can you please help me to solve this problem. Thanks in advance.
I have seen some apps cover it up with their overlay, but you can't remove it. AVCaptureSession really does sound more appropriate for your purposes. I see one example here:
http://www.musicalgeometry.com/?p=1273
Disclaimer: I know the question of locking orientation has been asked, and solved. But that's only half my question.
I'm building an iphone website for a small indie game developer. They want to be able to show off screenshots from some of their iphone games. This is somewhat of a problem though. All the screenshots are taken from the game in landscape mode, so it really doesn't make any sense to display them in landscape.
Currently I have a very lightweight lightbox-style display for the image. You click a button on the site, and the image pops up (through ajax magic!) to occupy the full screen. Clicking anywhere on the image makes it go away, as if you had never viewed it.
I'm thinking that the two most practical solutions are either: a) lock iphone orientation for the duration of displaying the image; or b) do some very sneaky rotation on the image when the phone rotates, so no one ever notices. Are either of these possible/feasible? If so, could you give me any tips? And if not, has anyone solved a similar problem?
A demo of this is available at my personal server.
My $.02
As a personal design decision - I would have two images, and switch them as the rotation changes from portrait to landscape. Locking orientation seems so unfriendly. As some extra eye candy, You may want to put some sort of transition image in there between image swaps.
Here is something that may help .. http://snippets.dzone.com/posts/show/4912
Hello all would anyone know how flickr manage to make this type of effect on their app where on the main screen you see a background image moving to the side and zooming in and fading to another image its really cool. your link sources for code or tutorials are always appreciated
thanks
PS im trying to implement this to one of my apps in iphone
See the Ken Burns Effect.