I want to create a button at the left side of navigation bar whereby after clicking on it, users will be brought into another page. However I could not make it work. Below is my code. Please help!
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:@selector(cancelEdit:)];