I need to check which UIViewController is active so I have implemented some cases depending upon the result.
[self.navigationController.visibleViewController className]
This always returns null.
I am checking with this statement:
if([iDetailController isKindOfClass:[IDetailController class]])
but it fails, kindly help me if I am doing something wrong here.