lunes, 25 de abril de 2016

iOS: Remove navigation bar back message


self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:self.navigationItem.backBarButtonItem.style target:nil action:nil];*

This code needs to be in the ViewController that pushed the ViewController in which you want to hide the back text.

*If using a TabBarController this code will go there, no in the contained view controller.

No hay comentarios:

Publicar un comentario