Skip to content

Problem with camera #3

@maximousse

Description

@maximousse

Hello, (sorry for my english, i'm french)

I'm using the framework to integrate Augmented Reality in one of my projects, but i've got several problems, especially with camera overlay (or is it a memory management problem ?). I explain quickly :

First, i can't add the view of a SGARViewController object on another view than a UIWindow object (However, I can add the view with presentModalViewController: or pushViewController: methods)

Then, the real problem is :
I alloc-init a SGARViewController object, and display it with presentModalViewController (I don't need navigation bar, so I don't use initWithRootViewController: method). It's ok. But after I dismiss it, and when I release the SGARViewController object (back to a previous view in my app), and I alloc-init a new SGARViewController object then display it with presentModalViewController, I see the "augmented", but I can't see the "reality" : the SGARViewController view shows radar and annotations, but camera show a blank screen. With Instruments, I can see (after I release SGARViewController object) there is a SGARView object still living. I don't know if it's linked to my problem, or if i just missed doing anything.

What about this ?

Best regards,
Maxime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions