Cancel button in Photo View Controller.
This commit is contained in:
parent
09e042de04
commit
694c4435d9
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
||||||
// if user wants to cancel the upload
|
// if user wants to cancel the upload
|
||||||
// it should be just in the case of snapshot
|
// it should be just in the case of snapshot
|
||||||
UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc] initWithTitle:@"Cancel" style:UIBarButtonItemStylePlain target:self action:@selector(cancelUploadButton)];
|
UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc] initWithTitle:@"Cancel" style:UIBarButtonItemStylePlain target:self action:@selector(cancelUploadButton)];
|
||||||
self.navigationItem.rightBarButtonItem = cancelButton;
|
self.navigationItem.leftBarButtonItem = cancelButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
// button to done
|
// button to done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue