I have two views myViewController which calls a subview myLocationController. The myLocationController is just a picker view for selecting a location. Once the user selects a location I want to launch a subview of myViewController but I cannot seem to get the proper coding. I define a variable in myLocationController as the type myViewController. Before I launch the subview of myLocationController I have been trying to assign the view to that variable like
myLocationController.myViewControllerVar = self;
or
myLocationController.myViewControllerVar.view = self.view;
No joy on getting this working. What am I missing or doing wrong? This same type of procedure works for a UIWebView...
FM
_________
This does work when you synthesis the variable to be used to track. That was the problem.
myLocationController.myViewControllerVar = self;
or
myLocationController.myViewControllerVar.view = self.view;
No joy on getting this working. What am I missing or doing wrong? This same type of procedure works for a UIWebView...
FM
_________
This does work when you synthesis the variable to be used to track. That was the problem.