0
가로로 표시되지 않고 세로로 표시되는 TTTabbar를 만들고 싶습니다.현재 TTTabbar 세로로
나는 지금까지는 cgaffinetransformmakerotation으로 TTTabbar를 회전하려했지만 거기에는 운이 없었습니다. 스트레치를 돌릴 때.
제안 사항?
[편집]
TTTabBar 정말하지 않는 것처럼 는 :) 나는, 그렇지 않으면 tttabbar 모든 화면
this.rightView = new UIView();
this.rightView.BackgroundColor = UIColor.ScrollViewTexturedBackgroundColor;
RectangleF applicationFrame = UIScreen.MainScreen.ApplicationFrame;
//applicationFrame.Y -=20;
TTTabBar ttTabBar = new TTTabBar(new RectangleF(0,0,applicationFrame.Height,40));
ttTabBar.TabItems = NSArray.FromNSObjects(new TTTabItem("one"),new TTTabItem("two"),new TTTabItem("three"));
rightView.Frame = new RectangleF(110,applicationFrame.Height/2,applicationFrame.Height,40);
this.rightView.AddSubview(ttTabBar);
rightView.Transform = CGAffineTransform.MakeRotation((float)(Math.PI*90)/180);
정확히 회전하려고 했습니까? 코드를 보여주십시오. 그리고 "운이 없다"는 것은 무엇을 의미합니까? 오류가 발생 했습니까? 앱이 충돌 했습니까? – tonklon
크래시가 없다, 뻗는다 – Janub
정확히 어떻게 회전 시키려고 했습니까? 코드를 보여주십시오. 그리고 그것이 "뻗어"있다는 것은 무엇을 의미합니까? 도움이된다면 정보를주십시오. – tonklon