Closed fabiomassimo closed 11 years ago
I will look at this first thing in the morning tomorrow (:
Hm, I'm not too familiar with SWRevealVC but I can see a few things which might help you:
-refreshPositionOfOverlay
function when trying to call the delegate it must be that the delegate is no longer accessible or something of the sort...[arController stopAR];
whenever the AR view is about to start moving out or sliding or anything. Normally it always gets called before the view is about to disapear but maybe SWRevealVC doesn't call -viewWillDisappear:animated
when sliding things and thus stopAR
doesn't get called.Hope that helps
You might see that I just updated the framework to use ARC so maybe give it a try now (:
Really great job! Thank you! Now I can use this awesome project even with SWRevealVC (:
Hi, I'm trying to use this project with SWReavealViewController. When I try to change view controller the app crashes in [[self delegate] arControllerUpdateFrame:CGRectMake(newPos.origin.x, newPos.origin.y, OVERLAY_VIEW_WIDTH, deviceScreenResolution.height)];
with this debug: Thread 1: EXC_BAD_ACCESS
Is something that i should do before change view controller? If I tried to remove from my view tha arView o the AV layer the app crash in the same way but the error shows on dealloc,