hide back swift navigation bar code example Example: remove back button from navigation bar swift self.navigationItem.leftBarButtonItem = nil;