File tree Expand file tree Collapse file tree
Coding_iOS/Controllers/ProjectSetting Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ -(void)submit{
6565 // 更新项目
6666 [[Coding_NetAPIManager sharedManager ] request_UpdateProject_WithObj: self .project andBlock: ^(Project *data, NSError *error) {
6767 if (!error) {
68- [self .navigationController popToRootViewControllerAnimated :YES ];
68+ [self .navigationController popViewControllerAnimated :YES ];
6969 }
7070 self.submitButtonItem .enabled = YES ;
7171 }];
@@ -106,6 +106,7 @@ -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingM
106106 if (dataDic) {
107107 self.project .icon = dataDic[@" icon" ];
108108 [[[SDWebImageManager sharedManager ] imageCache ] storeImage: image forKey: self .project.icon];
109+ [self .navigationController popViewControllerAnimated: YES ];
109110 }
110111 //
111112 self.projectImageView .image = image;
You can’t perform that action at this time.
0 commit comments