ios - View Dismissing itself on touch without any code -


i have series of view controllers navigated "back" , "next" uibarbuttonitems*. problem have view controllers dismiss when view touched anywhere in top half of view without code whatsoever.

nothing calling [self dismissviewcontrolleranimated:yes completion:nil]; didn't notice behavior until after updated xcode 6.3.1 can't think of way capture event nslog.

i have commented out view still dismisses when touch it. i've never been stumped this. any suggestions?

- (void)viewdidload {     [super viewdidload];   //  uiswipegesturerecognizer *swipeleft = [[uiswipegesturerecognizer alloc] initwithtarget:self action:@selector(actnext:)];   //  swipeleft.direction = uiswipegesturerecognizerdirectionleft;   //  [self.view addgesturerecognizer:swipeleft];   //   uiswipegesturerecognizer *swiperight = [[uiswipegesturerecognizer alloc] initwithtarget:self action:@selector(actback:)];  //   swiperight.direction = uiswipegesturerecognizerdirectionright;  //  [self.view addgesturerecognizer:swiperight];  }  - (void)didreceivememorywarning {     [super didreceivememorywarning];     // dispose of resources can recreated. } -(ibaction)actnext:(id)sender {     //pagethree *p3 = [[pagethree alloc] initwithnibname:@"pagethree" bundle:nil];     //[p3 setmodaltransitionstyle:uimodaltransitionstylepartialcurl];     //[self presentviewcontroller:p3 animated:yes completion:nil]; }   -(ibaction)actback:(id)sender {      nslog (@"dismiss invoked");    // [self dismissviewcontrolleranimated:yes completion:nil]; }  @end 


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -