Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-17-2008, 04:57 AM   #3 (permalink)
corneliussen
Registered Member
 
Join Date: Aug 2008
Posts: 21
Default

Hi

The title can be found in viewController.tabBarItem.title

Example

Code:
// Optional UITabBarControllerDelegate method
- (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController {
	if ([viewController.tabBarItem.title isEqualToString:@"something"])
    {
        // Do something
    }
	
}

Last edited by corneliussen; 10-17-2008 at 05:00 AM. Reason: Code looked strange
corneliussen is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,677
Threads: 89,155
Posts: 380,392
Top Poster: BrianSlick (7,110)
Welcome to our newest member, Buster2000
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:17 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.