This is a demo app showing you how to use AVFoundation to build a full-screen camera app in iOS.
For the full tutorial, you can refer to this link:
A Full Screen Camera App written in Swift
This is a demo app showing you how to use AVFoundation to build a full-screen camera app in iOS.
For the full tutorial, you can refer to this link:
When ever I run the project I get the following error. Any reason for this?
Hi @simonng ,
Error : Type 'CameraController' does not conform to protocol 'NSObjectProtocol'
Warning : "'jpegPhotoDataRepresentation(forJPEGSampleBuffer:previewPhotoSampleBuffer:)' was deprecated in iOS 11.0: Use -[AVCapturePhoto fileDataRepresentation] instead."
Hello friend!
nice tutorial! Thanks
But always get error "InvalidOperation" during change rear camera to front
please help
Well done work and appretiated very much but here one thing you have missed Sir is that video button functionality.
Comment says it all. CRASHES if you use the selfie view with the flash on.
Thanks for a very helpful tutorial. I wondered if I could use the camera controller in a non-commercial / open source project more or less unmodified and with attribution?
Hello ,
I have download your code and try to run on my iPhone and I am getting below message on console
noCamerasAvailable
How can I run this code successfully without any error on console ?
Thanks in advance.
Hello,
I am having problems with interface when I run app on iphone X with ios 11. I put two screenshots below, first issue is I can not get camera preview to full screen in vertical mode. There is an area on the top that I can not get rid of.
Second issue is when I rotate the phone to horizontal mode, user interface almost cover all screen, please see the screenshot below.
Do you have any hint to fix these issues ?
Thanks.
After capture image i am getting some extra captured part on top and bottom of image. Can you please help me how can i resize camera capture preview layer based on my view size.
Cameras are not detected if run this code in iPhone SE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.