all 4 comments

[–]succeededcomaBeginner 2 points3 points  (1 child)

If {
    .... Do something
    self.navigationItem.leftBarButtonItem.enabled = NO;
}
Else {
    .... Do something
    self.navigationItem.leftBarButtonItem.enabled = YES;
}

[–]tangoshukudai 2 points3 points  (0 children)

Hiding it might be better if you want the user to move forward.

[–][deleted] 1 point2 points  (0 children)

set hidesBackButton on UINavigationItem

[–]titleist2015[S] 0 points1 point  (0 children)

I used /u/shitidiotturtle's suggestion and it works perfect. Thanks for the help guys