nielswh / iPhone-AR-Toolkit

An Objective-C augmented reality kit for iPhone. Forked from the iphonearkit.
http://www.agilitesoftware.com/blog
Other
275 stars 53 forks source link

iOS 6, Camera Orientation incorrect again and some API depreciated #19

Closed hinoto closed 11 years ago

hinoto commented 12 years ago

Hi dear iPhone-AR-Toolkit team, thanks for the hard work! Since the iOS 6 updated, the Camera orientation started to act weird again. When launch the app, the Video present as 90 degree right. I tried to fix it but doesn't work at all.

Also some of the API seem to stop supported in iOS 6 as well.

Thank you guys so much for the hard work! This project keep my thesis project survived! THANKS!

nielswh commented 12 years ago

Hi.

This weekend I plan to check out the toolkit and see what changes are needed for iOS 6

Sent from my iPhone

On Oct 9, 2012, at 1:21 PM, hinoto notifications@github.com wrote:

Hi dear iPhone-AR-Toolkit team, thanks for the hard work! Since the iOS 6 updated, the Camera orientation started to act weird again. When launch the app, the Video present as 90 degree right. I tried to fix it but doesn't work at all.

Also some of the API seem to stop supported in iOS 6 as well.

Thank you guys so much for the hard work! This project keep my thesis project survived! THANKS!

— Reply to this email directly or view it on GitHub.

hinoto commented 12 years ago

Awesome! Thanks so much again! :)

On Tue, Oct 9, 2012 at 3:50 PM, Niels Hansen notifications@github.comwrote:

Hi.

This weekend I plan to check out the toolkit and see what changes are needed for iOS 6

Sent from my iPhone

On Oct 9, 2012, at 1:21 PM, hinoto notifications@github.com wrote:

Hi dear iPhone-AR-Toolkit team, thanks for the hard work! Since the iOS 6 updated, the Camera orientation started to act weird again. When launch the app, the Video present as 90 degree right. I tried to fix it but doesn't work at all.

Also some of the API seem to stop supported in iOS 6 as well.

Thank you guys so much for the hard work! This project keep my thesis project survived! THANKS!

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/nielswh/iPhone-AR-Toolkit/issues/19#issuecomment-9281350.

With the best Regards.

Will Chang. Graduate student. School of Computing and Information Systems; Faculty of Science and Technology. Athabasca University.

Dept. of Information Management; National Kaohsiung First University of Sci. & Tech.

hinoto424@gmail.com

hinoto commented 11 years ago

Hi dear Niel, thanks for the reply last time, I'm sorry but I have to bug you here again. I tried to fix the Orientation problem by my self for a month but still can't figure out how to. Even if I change the target to run on iOS 5.1 SDK, still doesn't work.

The Orientation we have now is, when we first time launch the app. the Camera View is displaying 90 degree to the left turn. When I "Multi taks click" the home button, or I turn the device to landscap and turn it back, which means when I make a change of the app view, then it will come back as normal.

I was just wondering if you could please take a look of this part first. You you can that would be awesome and a BIG thanks! Because I have to do a Demo for my thesis project and I couldn't figure this out by my self since last month, so have to bug you for help. Thanks!

nielswh commented 11 years ago

Please check out the latest version. I have simplified things

The augmentRealityController can not be connected to anyView. I've also updated the Camera controls to use the new iOS6 methods.

Let me know if this solves your problems.

hinoto commented 11 years ago

Thank you so much Niel! That helps a lot! I'm going to spend about two weeks to modify my project with your new code. I will keep posted with you, GREAT and FANTASTIC JOB man!!! I really appreciate your work and sharing your knowledge! This AR kid is by far the best!