miércoles, 17 de agosto de 2016

iOS: Change back button navigation bar

Objective C

1) Change back button color

self.navigationController.navigationBar.tintColor = [UIColor whiteColor]; // Change back button color

2) Remove back text








Swift

1) Change back button color

self.navigationController!.navigationBar.tintColor = UIColor.whiteColor()

2) Remove back text




Note: You can set the back button color in the IB by clicking on the Navigation Bar and settings its tint color

No hay comentarios:

Publicar un comentario