당신은 사용자 정의 뒤로 버튼과 버튼을 기본을 다시 교체해야, 자 마린 양식의 탐색 바 아이폰 OS에 UINavigationBar
에 매핑되는 당신이 좋아하는 UILeftBarButtonItem
다시 사용자 정의 버튼을 설정해야합니다 그래서 또한
public override void ViewWillAppear(bool animated)
{
var backBtn = new UIButton(UIButtonType.Custom)
{
// setup your custom back button with title, image etc
}
backBtn.TouchDown += (sender, e) =>
{
//Handle back click here
};
NavigationController.TopViewController.
NavigationItem.LeftBarButtonItem = new UIBarButtonItem(backBtn);
}
당신 아래 네이티브에서 폼 사이를 연결해야만 Xamarin PCL 또는 공유 프로젝트에서 콜백을받을 수 있습니다. 그것은 마법처럼 작동이 article
코드와 전체 구현이 있습니다
, 감사 – LittleFunny