0
我有以下代碼來設置並切換到ABPeoplePickerNavigationController。顯示ABPeoplePickerNavigationController時隱藏標籤欄?
ABPeoplePickerNavigationController *peoplePicker = [
[ABPeoplePickerNavigationController alloc] init
];
peoplePicker.peoplePickerDelegate = self;
window = [[[currentView superview] superview] superview];
[window addSubview:[peoplePicker view]];
[[[peoplePicker view] layer] addAnimation:animation forKey:@"nav"];
它正在切換的視圖由UITabBarController控制。我會阻止顯示標籤欄,而PeoplePicker是活動視圖,但到目前爲止,我還沒有運氣。我已經查看了hidesBottomBarWhenPushed,但由於我無法推動導航控制器,因此這沒有幫助。我還可以做些什麼?