저는 Xamarin IOS를 처음 사용하고 있으며이 플라이 아웃 탐색이 필요한 프로젝트가 있습니다.xamarin에서 플라이 아웃 탐색을 사용하는 방법 IOS
var navigation = new FlyoutNavigationController {
// Create the navigation menu
NavigationRoot = new RootElement ("Navigation") {
new Section ("Menu") {
new StringElement ("Recipe"),
new StringElement ("Recipe Basket"),
new StringElement ("Meal Planner"),
new StringElement ("Grocery List"),
new StringElement ("Social"),
new StringElement ("Videos"),
new StringElement ("News Feed"),
new StringElement ("Partners"),
}
},
// Supply view controllers corresponding to menu items:
ViewControllers = new [] {
new UIViewController { View = new UILabel { Text = "Animals (drag right)" } },
new UIViewController { View = new UILabel { Text = "Vegetables (drag right)" } },
new UIViewController { View = new UILabel { Text = "Minerals (drag right)" } },
},
};
이 코드는 UILabel을 제공합니다. 특정 뷰 컨트롤러로 보내려면 어떻게해야합니까?
도와주세요.
미리 감사드립니다.
f inal 출력. 아이폰에 어떻게 나타나는지. 왼쪽 네비게이션 바 버튼 항목을 4 개의 가로 막대로 표시하지만 가져 오지 못하게하고 싶습니다. 그러면 스크린 샷을 게시 할 수 있습니까? 감사합니다. – RookieAppler
안녕하세요. 스크린 샷을 공유 할 수 있었으면 좋지만, 웬일인지 공유 할 수있는 힘이 없습니다. 플라이 아웃 탐색은 슬라이드 메뉴와 유사하게 작동합니다. 왼쪽 탐색 모음 단추는 "NavigationItem.LeftBarButtonItem"입니다. – vinaykumar