http://screencast.com/t/EDi8xbsvV
- (CGRect)applicationVIEwFrame {CGRect appFrame = [[UIScreen mainScreen] applicationFrame];CGRect expectedFrame = [self.vIEw convertRect:appFrame fromVIEw:nil];return expectedFrame;
}
- (UIVIEw *)vIEwForleftSIDebar {CGRect mainFrame = [self.navigationController applicationVIEwFrame];if (!self.leftSIDebarVIEwController) { SP2SIDebarVIEwController * sIDeController = [[SP2SIDebarVIEwController alloc] initWithStyle:UItableVIEwStylePlain]; self.leftSIDebarVIEwController = sIDeController; [sIDeController release]; self.leftSIDebarVIEwController.sIDebarDelegate = self; if ( self.callerAppname ) [self.leftSIDebarVIEwController setLaunchAppname:self.callerAppname]; if ([UIHelper isPad]) { self.leftSIDebarVIEwController.vIEw.frame = CGRectMake(0,mainFrame.origin.y,SIDEbar_IPAD_WIDTH,mainFrame.size.height); } else { self.leftSIDebarVIEwController.vIEw.frame = CGRectMake(0,170,mainFrame.size.height); } self.leftSIDebarVIEwController.Title = @"leftSIDebarVIEwController"; self.leftSIDebarVIEwController.vIEw.autoresizingMask = UIVIEwautoresizingFlexibleRightmargin | UIVIEwautoresizingFlexibleHeight;}self.leftSIDebarVIEwController.slIDeDecksCount = [slIDeDecks count];self.leftSIDebarVIEwController.JsonDecksCount = [self.JsonDecks count];// [self.leftSIDebarVIEwController.tableVIEw reloadData];return self.leftSIDebarVIEwController.vIEw;}
提前致谢
解决方法 尝试这个侧边菜单应用程序在ios6,ios7工作正常。https://github.com/mikefrederick/MFSideMenu
总结以上是内存溢出为你收集整理的在iPhone和iPad上,JTRevealSideBar UI不会在横向模式下正常显示全部内容,希望文章能够帮你解决在iPhone和iPad上,JTRevealSideBar UI不会在横向模式下正常显示所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)