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

KxMenu.m:423:50: 'sizeWithFont:' is deprecated #21

Open
Sun3 opened this issue Jul 11, 2014 · 2 comments
Open

KxMenu.m:423:50: 'sizeWithFont:' is deprecated #21

Sun3 opened this issue Jul 11, 2014 · 2 comments

Comments

@Sun3
Copy link

Sun3 commented Jul 11, 2014

When compiling under iOS 7 I receive below warning:

/KxMenu.m:423:50: 'sizeWithFont:' is deprecated: first deprecated in iOS 7.0 - Use -sizeWithAttributes:

@chandramanic
Copy link

const CGSize titleSize = [menuItem.title sizeWithAttributes:
@{NSFontAttributeName:
titleFont}];

@Sun3
Copy link
Author

Sun3 commented Jul 20, 2014

Thank you that worked great...

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