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

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -