I am developing an app that uses UIImagePickerController to capture photos in my current app. I would like to display grid lines (like the original iOS camera app).
At the moment I am adding a custom view as an overlay over my camera preview to draw the grid but the problem is I can’t never get it to be perfectly positioned on all devices. It’s a lot of manual math and guessing what position works on each of devices.
I am wondering is there any better solution than what I am doing.
Thank you
Related
I know How to use/show animated images in ImageView. But I m wondering if this is possible in native iOS and/Or Android that letters of a string can be shown on screen via different shape of animations.
For Example:
Ballons on the full app screen pop and deposit the words of the text/string.
Popcorn in a pan on the full app screen pop and deposits the words of the text/string.
Then these letters/words are moving down to bottom of app screen and placed/shown in some textView
I have searched a lot but found nothing like this in Native environment.
I have found THIS LTMorphingLabel but it is very far from my requirement.
Any idea or direction will be highly appreciated.
Lottie is a mobile library for Android and iOS that parses Adobe
After Effects animations exported as json with Bodymovin and renders
them natively on mobile!
you can have different animation for each lettter
have fun
I was wondering if anyone here knows how to add a camera area like this one(similar to snapchat I guess) in Xamarin Forms (preferably,mainly with XAML)Camera area is suppose to have a livecast & it is going to be on iOS
needed this screen:
I tried Xam.Plugins.Media but couldn't manage to create the needed screen
The media plugin, goes into the platform specific Camera Screen, takes a picture then returns. You can't put extra buttons on the screen in this way.
To get a video feed and manage the capture yourself, you will need to implement a lot of platform specific things.
Android
https://developer.xamarin.com/recipes/android/media/video/record_video/
iOS (Look at the AV samples)
https://developer.xamarin.com/samples/ios/Media/
I am taking picture using UIImagePickerController with custom overlay view. I have a requirement to enable native editing mode of UIImagePickerController when photo is taken and user taps "Edit" button which is on my custom overlay view.
I have set:
imagePickerController.showsCameraControls = NO;
How is this possible to achieve?
Thanks,
You might be trying using UIImagePickerController. But I know this one solution to your problem. You can do it easily using AVCamCaptureManager and AVCamRecorder classes. Apple has a demo program build on its developer site here. It is named AVCam. In simple words what it does is when you click to open the camera, it calls the classes and methods which are responsible for opening the iPhone's camera and record video or capture audio. It calls the same classes which are called by UIImagePickerController. So your camera will open and start taking input.
Now, if you open the xib file of that AVCam project, you'll find a small UIView object. This view is responsible for displaying the camera's feed. You can resize that view as per the size you want and the camera's input will be displayed in that much area. You can also put the frame image around it as per your choice.
It worked for me when I wanted to resize the camera's input feed and capture photos. I hope it works for you as well.
I need a view controller for user to crop and rotate image.
And I think the UI which iOS8 photo app did is very awesome
But I found only these two :
https://github.com/heitorfr/ios-image-editor
https://github.com/kishikawakatsumi/PEPhotoCropEditor
These are useful, but when making image smaller than the crop area, to move or rotate the image is very difficult, and the respond is very weird.
After using these, I think the iOS8 photo app's crop and rotate function is much better
So is there a view controller performs image crop and rotate like iOS 8 photo app?
Try The following:
https://github.com/itouch2/PhotoTweaks
https://github.com/yackle/CLImageEditor
They enables similar functionality as the native Photos app in iOS8.
In the iOS 7 camera app, if you click on the icon in the bottom right corner it opens a collection view that is a 3x3 grid showing a live preview of different filters. How can this be recreated for our own app purposes? I have tried using GPUImage but I am only able to display one GPUImageView at a time and I can't figure out what I am doing wrong.
GPUImage comes with a MultiViewImage example that fulfills this exact requirement. I will use it as a starting point.
The example was found in the GPUImage GitHub (https://github.com/BradLarson/GPUImage) under the directory /examples/iOS/MultiViewFilterExample/
Direct Link
The project in that folder shows how to display 4 GPUImageViews, each with their own filter on one UIView.