user2384583 user2384583 - 1 year ago 99
Objective-C Question

how to check the navigationcontroller title

I am developing

based application. I placed the title to separate the pages. If I move to the first page , I set the title


If I move to the second page


and it is working fine. But as I move to the third page, I'm setting the title yet it shows < Second Third

Anyone knows how to check if the
title is present or not.

Answer Source

on your Third ViewController add the following code in ViewDidLoad and try once

[self.navigationItem.backBarButtonItem setTitle:@" "];