How to embed a small camera preview, and then save the whole screenshot image in iphone - iphone

I want to put a background image first, and then put a small camera preview view on the top of it.
When user clicked the ok button, a screenshot of the whole merged picture could be reproduced. I remember that some apps in appstore did this, just want to know how to achieve this in code.

Place your background image.. Over that place your imagepicker controller..
take screenshot using UIGetScreenImage

Related

It is possible to display a base64 gif?

Hello I try to display a GIF that I get from a base64 file in a UIImageView but it only shows as an image does not play, I opted to use a WKWebView I managed to show it in emulators is displayed well but in iphone is not shown I appreciate your time and your opinion thanks. I share my code.
the image is displayed but does not move with an image view and with a WKWebView it is not displayed on a physical device but on emulators.
enter image description here
iOS has no native provision for playing an animated GIF. There are third-party libraries to help, but that would be outside the proper scope of Stack Overflow.

Continuous image transition like in default iPhone album

I am taking pictures from my custom UIImagePicker camera and saving the images inside the app Document Directory.
Now, when I display the images when a user Swipes over my image he should see the next/prev image. As of now I have keep the transition discrete(the image doesn't move with the finger; it changes immediately). But I would love the transition be smooth like the one in default iPhone album (smooth and along with the finger).
Can you tell how to achieve this ?
Thnx in advance
If u want to scroll images only than u can used Paging technic:
try this link:
http://eureka.ykyuen.info/2010/05/22/iphone-uiscrollview-with-paging-example/

Accessing UIImagePickerController Camera's Preview Screen

I am working with a basic UIImagePickerController. I have read about camera overlays and am not ready / don't need to dive into that world yet.
After the user takes a photo, the UIImagePickerController displays a "Preview" screen. All I want to do is change the text on the button on the preview screen from "Use" to "Upload".
It seems to me that there should be a very easy way to access this, but I have found very few references to the "Preview" screen.
Any assistance would be appreciated.
That functionality is not exposed in the SDK. There is no way to customize the Preview screen.

image comes with fade-in/fade-out effecta and image change every a fixed time in iPhone

I have 4 images. I want to load image in first screen. Each image comes with fade-in/fade-out animation and image change after every 10 second. when we click any images than next screen come up.
please give me help i am new in iPhone.
will suggest you to go through Apple's PhotoScroller sample code.
http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010080

UIScrollView as image viewer

I have to use UIScrollView as image viewer like Photo app. The UIScrollView is supposed to show photos with swiping, zooming and rotating with interface rotation.i have to load minimum 20 images.is it possible? which is the best way? plz post some sample codes.
I've written a simple and easy to use photo browser called MWPhotoBrowser which you should be able to look at and dissect.
It is an implementation of a photo viewer that I wrote allowing the user to view one or more images in a similar way to the native Photos app. It can display one or more images by providing either UIImage objects, file paths to images on the device, or URLs images online. Photos can also be zoomed, panned, and navigated with previous/next buttons.
View MWPhotoBrowser on GitHub
Hope this helps!
Refer to the sample application page control here https://developer.apple.com/iphone/library/samplecode/PageControl/ , it should help you get started, they have a scroll view that you can use to scroll through a bunch of pages, you can modify this to do pictures. It doesnt do zooming o rotationg but its a good place to start