나는 과 같은 상황이있다. 나는 UITabBarController를 가지고있다. 그것은 각각 UISplitViewController를 갖는 3 개의 탭을 가지고 있습니다. 이제 0 번째 탭이 선택되었습니다. 탭 (예 : 0 번에서 1 번)을 전환 한 다음 다시 전환합니다 (예 : 1 번에서 0 번으로). 그래서 내 제 0의 탭 UISplitViewController가 컨트롤이 다시 Tab임을 알 필요가 있다는 것을 알려주는 방법을 제안 해주세요.알기 U가 UITabBarController의 탭을 바꾼다면
1
A
답변
1
documentation은 0 번째 탭의 UITableViewController
(또는 적절한 탭)에 대한 viewWillAppear
를 구현 찾아보세요 구현해야합니다. 이것은 활성화 될 때 호출됩니다.
0
당신은 UITabBarControllerDelegate 방법은 자세한 내용은 - tabBarController:didSelectViewController:
관련 문제
- 1. UITabbarcontroller의 탭을 두 번 탭하여 탐색하십시오.
- 2. UITabBarController의 컨트롤러
- 3. 정확히 mvn -U가 작동합니까?
- 4. UITabBarController의 TTPhotoViewController
- 5. UITabBarController의 MBProgressHUD
- 6. u가 ctrl + u로 무엇을 의미합니까?
- 7. UITabBarController의 탭 사이에 배경보기 공유
- 8. UITabBarController의 동작 변경
- 9. UITabBarController의 UINavigationController 내에서 UIViewController 푸시
- 10. fadeIn/fadeOut을 fadeToggle로 바꾼다면 왜 작동하지 않습니까?
- 11. UITabBarController의 탭 막대를 사용자 정의하는 방법은 무엇입니까?
- 12. UITableViewController to UITabBarController의 DetailViewController
- 13. UITabBarController의 홈 뷰
- 14. swift를 사용하는 UITabBarController의 MKMapView
- 15. UITabBarController의 UINavigationBar에있는 UIBarButtonItem
- 16. 이것은 UITabBarController의 예입니까?
- 17. UITabBarController의 여러보기 및 컨트롤러
- 18. UITabBarController의 다중 뷰
- 19. UITabBarController의 moreNavigationController 사용자 정의
- 20. ios uiviewcontroller uitabbarcontroller의 하위
- 21. UITabBarController의 위쪽 막대 숨기기
- 22. UITabBar와 UITabBarController의 차이점은 무엇입니까?
- 23. UITabBarController의 ABPeoplePickerNavigationController 및 UITableViewController
- 24. 현재 UITabBarController의 모달보기
- 25. UITabBarController의 화면간에 정보 공유
- 26. UITabBarController의 가로 UIView
- 27. iOS - 현재 UITabBarController의 ABUnknownPersonViewController
- 28. UITabBarController의 특정 탭으로 이동
- 29. UITabBarController의 버튼 위치는 무엇입니까?
- 30. Storyboards를 사용하는 UITabBarController의 iAd
'UITableViewController'에 대한'viewWillAppear'가 활성화 될 때 호출됩니다. – UditS
감사합니다. @UditS 가장 간단한 방법입니다. 대답으로 답장하십시오. 그래서 우리는 이것에 대한 답을 할 수 있습니다. –