Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Urgent!!! Developing an app with QR scanner camera functionality.

Does anyone have any experience developing ios applications that involve creating custom camera interfaces?

for example, snapchat opens the camera and has it's own interface for snapping. Or something such as the QR scanner app being able to recognize a QR Code.

How do you access those properties/protocols of the ios camera from within xcode 6?

2 Answers

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

You can detect objects in the iOS SDK and a QRCode is one of them (AVMetadataObjectTypeQRCode).

Thanks Andrew,

However, I'm sort of new to working with this so I have a few questions so i can get an idea of where i need to look.

Which framework are these objects referenced from? so i can know which classes to import.

How do i create instances, if any, or methods to implement the QR functionality?

Do you have any references for this information?

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

A web search came up with this and looks like a good place to start.

http://www.appcoda.com/qr-code-ios-programming-tutorial/

It's in Objective-C.

Thanks Andrew, that will work.

But could you help me here on this post? https://teamtreehouse.com/forum/unable-to-load-ios-simulators-xcode-6