摘要 : 方法一右侧进入BaseInfoEdit* View = initWithNibName :@"BaseInfo"bundle :nil];;返回方法;方法二下方进入OilRecordAdd* View = initWithNibName :@"OilRecordDetail"bundle :nil];;返回方法; ... ...
方法一右侧进入
BaseInfoEdit *View = [[BaseInfoEdit alloc] initWithNibName:@"BaseInfo" bundle:nil]; [self.navigationController pushViewController:View animated:YES]; 返回方法 [self.navigationController popViewControllerAnimated:YES];
方法二下方进入
OilRecordAdd *View = [[OilRecordAdd alloc] initWithNibName:@"OilRecordDetail" bundle:nil]; [self.navigationController presentModalViewController:Nav animated:YES]; 返回方法 [self.navigationController dismissModalViewControllerAnimated:YES]; |