Closed ismaiI1 closed 8 years ago
i think you should simply declare a navigation controller, initialize the root viewcontroller with ZLPeoplePickerViewController and set the third tab with the navigation controller.
UITabBarController *tbc = [[UITabBarController alloc] init];
UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:self.peoplePicker];
NSArray *controllers = [NSArray arrayWithObjects: /*first, second*/ nc /*fourth, fifth*/,nil];
tbc.viewControllers = controllers;
too late :) .. i made my own people picker. thanks 👍
i have 5 tabs and navigation bar. i want to add this project to my third tab.
[self.navigationController pushViewController:self.peoplePicker animated:YES];
when i add like that, back button shown on navigation bar.
i mean, i want to like that
how can i do that? and sorry for my english.