Comments (8)
1)If you press it fast 10 times in a row, it will go dark but it will still take an image but the image will be dark.
2) If you wait a split second it will stabilise and you can take a clear pic.
- I don't think this is an issue as i see no reason to hammer the camera button 10 time fast without giving the camera time to change viewpoints. If you press 10 times back and forth giving the camera time to switch viewpoints and this error occurs then that would be a valid bug.
from cool-ios-camera.
Thank you for your fast reply, for now, I already solved my problem by follow Apple's AVCam example:
- Disable switch button before [[self yourAVCaptureSession] beginConfiguration];
- Switch videoDeviceInput here
- Enable switch button after [[self yourAVCaptureSession] commitConfiguration];
Have a nice day :)
from cool-ios-camera.
Are you switching from front to back camera and back again? If you do this with apples IOS camera app, it will have a blur effect before the view stabilizes. There is no way for the camera to switch from front to back that quickly so many times. Therefore by disabling the switch button you just stopping someone from doing what you did.
from cool-ios-camera.
Yeah, I'm trying to tap it 10 times in a row, it will blinking for 4 seconds and sometimes I can see your Launch Camera button from behind.
Secondly, I want to improve this with double tap gesture on preview view to immediately switching between front and back camera, but it is a lot tricky than enable and disable switch button :).
from cool-ios-camera.
Many thanks mates for bringing this things to my attention, I will apply a more graceful transition to the camera switch that will give it some time to stabilise and not show the background view as well. Let me know if you can think on something better.
Any other proposals or pull requests you would like to submit are more than welcomed and I encourage you to submit them, @Tedeezy the double tap gesture sounds brilliant. I will apply more customisation options such as blurring in the top bar and bottom bar with adjusting on the blur. Also let me know anything you would like to see as well!
I am always open to add any other functionality and will read your comments immediately after you post them (given Im not asleep)!
from cool-ios-camera.
Thank you for your permission ^__^, I will do my best to help us better, have a nice day Gabriel 👍
from cool-ios-camera.
Try this one, Launch Camera, don't snap it yet, tap on switch camera button then snap it immediately, you will see your face and background gets dark because the camera is not ready to adjust the exposure.
I added the ImagePreviewView to my project to help user see his/her picture after snap, and they can dismiss the view with tap gesture :D.
Btw, I really love the animation of the top bar in portrait mode and landscape mode 👍 , I will learn to use paintcode soon. Thank you for using paintcode, It helps me a lot, ^^.
from cool-ios-camera.
@Tedeezy check it out now, I solved the camera toggle issue and the occasional brief appearance of the superview. Let me know how it goes! I will also add other features this week!
from cool-ios-camera.
Related Issues (20)
- Capture to square HOT 1
- Open Camera on Start Up HOT 4
- Capture to 4:3 HOT 1
- missing lib dependency in Installation instruction HOT 1
- Launch in tab navigation view HOT 2
- Make more than one photo HOT 1
- Launch screens may not use instances of IBUIStoryboardEntryPointIndicator.? HOT 2
- Spelling Corrections (toogle to toggle, loose to lose, thats to that) HOT 1
- Mach Linking Error with arm64 in Xcode 7 iOS 9 and swift 2.0 HOT 1
- Need help to turnoff default flash
- How to add an overlay to camera view HOT 2
- Zoom functionality
- Customization api do not work
- Any chance of bringing this to Swift? HOT 2
- Please add podspec
- I am using this project in my app (swift) HOT 1
- Crash report when I take pictures several times.
- iOS 10+ support HOT 1
- Camera is Little bit zoomed
- Deprecation in iOS 10+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cool-ios-camera.