ios - Detecing when tab item is clicked in Storyboard -


is there way programmatically check in main view when tab item created in storyboard clicked?

i tried putting following uitabbarcontroller class is:

- (void)tabbarcontroller:(uitabbarcontroller *)tabbarcontroller didselectviewcontroller:(uiviewcontroller *)viewcontroller  {      nslog(@"gets here"); } 

but no luck.

you should try link tabbar item .m file (with split views of storyboard , .m file, right click on item). then, name method , want in it.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -