Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问关于横竖屏切换适配的问题 #7

Open
mobyIsMe opened this issue Aug 24, 2016 · 0 comments
Open

请问关于横竖屏切换适配的问题 #7

mobyIsMe opened this issue Aug 24, 2016 · 0 comments

Comments

@mobyIsMe
Copy link

mobyIsMe commented Aug 24, 2016

你好,从竖屏切换到横屏的时候,发现右边有一大片空白,在iPad上,然后我再LSYReadViewController里加了一个函数,结果发现字体拉伸了,求问怎么解决呢?
我加的代码:`-(void)viewDidLayoutSubviews
{
[super viewDidLayoutSubviews];
_readView.frame = CGRectMake(LeftSpacing,TopSpacing, self.view.frame.size.width-LeftSpacing-RightSpacing,self.view.frame.size.height-TopSpacing-BottomSpacing);
LSYReadConfig *config = [LSYReadConfig shareInstance];
_readView.frameRef = [LSYReadParser parserContent:_content config:config bouds:CGRectMake(0,0, _readView.frame.size.width, _readView.frame.size.height)];
_readView.content = _content;

}
`

还有再切换到横屏的时候,点击翻页的区域怎么增大呢?好像跟竖屏的区域是一样的。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant