Skip to content
This repository has been archived by the owner on Apr 22, 2019. It is now read-only.

drawInRect:withFont is deprecated in iOS 7.0+ #99

Open
armandooj opened this issue Jul 30, 2014 · 1 comment
Open

drawInRect:withFont is deprecated in iOS 7.0+ #99

armandooj opened this issue Jul 30, 2014 · 1 comment

Comments

@armandooj
Copy link

No description provided.

@albertgh
Copy link

CGRect rect = CGRectMake(8.0f, 8.0f, self.frame.size.width - 16.0f, self.frame.size.height - 16.0f);
NSDictionary *attribute =
[NSDictionary dictionaryWithObjectsAndKeys:self.font, NSFontAttributeName, nil];
[self.placeholder drawInRect:rect withAttributes:attribute];

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

No branches or pull requests

2 participants