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

选择复制的时候,光标向左偏移了。 #10

Open
Micheal-Long opened this issue Jun 8, 2018 · 2 comments
Open

选择复制的时候,光标向左偏移了。 #10

Micheal-Long opened this issue Jun 8, 2018 · 2 comments

Comments

@Micheal-Long
Copy link

如题,控件是先初始化,之后再设置frame的。

@lele8446
Copy link
Owner

用initWithFrame初始化试试

@Micheal-Long
Copy link
Author

谢谢,已经解决了,初始化是使用initWithFrame的,但是frame设置了值。解决办法是初始化的frame设置的CGRectMake(0, 0, 1, 1)。之后再算高度后重新设置frame

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