Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f29efc0

Browse filesBrowse files
committed
项目图片和描述等修改成功后跳转到项目首页
1 parent 44aa68d commit f29efc0
Copy full SHA for f29efc0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎Coding_iOS/Controllers/ProjectSetting/ProjectSettingViewController.m‎

Copy file name to clipboardExpand all lines: Coding_iOS/Controllers/ProjectSetting/ProjectSettingViewController.m
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.