I am testing with the corona cards trial version and have it integrated into my app. I am able to create an corona card instance by creating a CoronaViewController, adding it as a child view controller to one of my view controllers and that all works great.
However what I would really like to do is create CoronaView as child view of one of UIViews, not a view controller. So I need to be able to create a CoronaView without creating a CoronaViewController. If I alloc a CoronaView and init it using initWithFrame I get “ERROR: A shader failed to compile.” If init it using initWithFrame:context: and pass a EAGLContext, the card renders but animations are not running. My lua animations listen to the “enterFrame” event to animate. So it appears that event is not firing. So it appears that CoronaViewController is doing more than just init a CoronaView instance.
Is it possible to create a CoronaView as a child of a UIView without CoronaViewController? If so what do I have to do to make it work?