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

sizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode is deprecated in iOS7 #1

Open
magdics opened this issue Sep 12, 2013 · 0 comments · May be fixed by #6
Open

sizeWithFont:minFontSize:actualFontSize:forWidth:lineBreakMode is deprecated in iOS7 #1

magdics opened this issue Sep 12, 2013 · 0 comments · May be fixed by #6

Comments

@magdics
Copy link

magdics commented Sep 12, 2013

Are you planning on making this control complaint with iOS7?

if (actualFontSize < fontSize)
{
font = [font fontWithSize:actualFontSize];
expectedSize = [progressString sizeWithFont:font
minFontSize:5.0
actualFontSize:&actualFontSize
forWidth:maximumSize.width
lineBreakMode:NSLineBreakByWordWrapping];
}

knutigro pushed a commit to knutigro/PICircularProgressView that referenced this issue May 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant