-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { UIButton *leftBtn = [UIButton buttonWithType:UIButtonTypeDetailDisclosure]; [leftBtn addTarget:self action:@selector(RutrunView) forControlEvents:UIControlEventTouchDown]; [self.view addSubview:leftBtn]; }