hi ,
I am developing one demo app.
In first view 'Login' button is linked to 'signInAction()' which is as follows. My superview controller is 'LoginController' and subview controller is 'TweetyViewController'..
- (IBAction) signInAction:(id)sender {
TweetyViewController *tweetyController = [[TweetyViewController alloc] initWithNibName:@"TweetyViewController" bundle:[NSBundle mainBundle]];
tweetyController.uname = usernameField.text;
tweetyController.pword = passwordField.text;
[self.view addSubview:tweetyController.view];
}
Default orientation is 'Portrait' orientation. when i logged in by 'portrait' view then 'TweetyController' subview works fine all buttons are working.
but when my application loads and I changed orientation to 'Landscape', and logged in then only UITextView works but button does not work, it can't understand touch event.
All IB setting are right.
Please help me if am doing wrong?