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

改进alertView show位置的策略 #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shenguanjiejie
Copy link

  1. 将alertViewOriginY和alertViewEdging替换为alertViewWidth, alertViewHeight和alertViewCenter三个属性, 使对位置的控制更加灵活
  2. 对layout,属性值及frame依次进行判断,保证AlertView可以从最合适位置show出来.
  3. 隐藏后设置_alertView.transform = CGAffineTransformIdentity; 否则会有无限缩小View的情况出现.

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

Successfully merging this pull request may close these issues.

None yet

1 participant