I have added a few buttons to self.view. When the user clicks on one button, i will load another view (subView). My code where i am loading the subView is shown below
Should this line:
UIView *v = [self.subView viewWithTag:1];
really be:
UIView *v = [self.view viewWithTag:1];
?