有一個問題給你們。在我的計劃,我有一個通過this.NavigationController.AddChildViewController(pvController)
添加爲子視圖控制器,並通過View.AddSubview(pvController.View)
InsertSubviewBelow無法正常工作;查看顯示高於其他視圖
添加爲我現在的觀子視圖我添加了一個轉變我的看法,使得其向下滑動在Y一UIPageViewController
軸250個單位:
UIView.Transition(this.View, 1.5, UIViewAnimationOptions.CurveEaseOut,() =>
{
this.View.Frame = animateTo;
}, null);
我想另一個UIView
是UIPageViewController.View
這樣,當我觸發我的過渡,另一種觀點似乎滑入到位後面。問題是,我已經嘗試了很多種方法來做到這一點無濟於事。這裏是所有的,我已經盡力做到這一點迄今方式:
View.SendSubviewToBack(behind);
pvController.View.InsertSubviewBelow(behind, pvController.View);
pvController.View.InsertSubviewAbove(behind, pvController.View);
pvController.View.SendSubviewToBack(behind);
他們都產生相同的事情:UIView的behind
顯示以上的pvController.View
任何人有任何想法?非常感謝幫助!
我很欣賞brotha,絕對是我以前沒有的額外知識。但是,我只是想出瞭如何去做我正在尋找的東西,如下所示。謝啦! –