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

请教 frame 改变时候的一些问题 #9

Open
zhysan opened this issue Dec 1, 2015 · 1 comment
Open

请教 frame 改变时候的一些问题 #9

zhysan opened this issue Dec 1, 2015 · 1 comment

Comments

@zhysan
Copy link

zhysan commented Dec 1, 2015

请教下大神,改变这个View的frame的时候,图片会自动回滚到第一张图片,另外高度增加的时候,后面的图片会从侧边挤进来,是因为layoutSubviews造成的吗?这两个问题要怎么解决?

@kingiol
Copy link
Owner

kingiol commented Dec 8, 2015

这个就需要在layoutsubview中重新调整子view的大小了

Sent from my iPhone

On Dec 1, 2015, at 23:15, zhysan [email protected] wrote:

请教下大神,改变这个View的frame的时候,图片会自动回滚到第一张图片,另外高度增加的时候,后面的图片会从侧边挤进来,是因为layoutSubviews造成的吗?这两个问题要怎么解决?


Reply to this email directly or view it on GitHub.

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

2 participants