klazuka/Kal — Issue #50: Using Kal withing another UIViewController
Author: timk00
Created: 2011-10-14 21:10:38+00:00
State: open

Hi,

I am trying to use Kal within another UIViewController:

In my UIViewControler's 'viewDidLoad':

[self.view addSubview:kal.view];

However user events are not getting passed to other controls in the view.

The Apple "View Controller Programming Guide for iOS" warns that a view from a view controller should not be nested in the view of another view controller.

I also tried instantiating KalView directly and adding that as a sub view to my view controller, but I have the same problem with messages not getting to other controls in the view.

Is there a way to use Kal within another view controller? Can I use KalView without KalViewController?

Thanks,
Tim