I was using a library (SGInfoAlert) which uses deprecated code drawInRect:r withFont:. I tried changing some codes to fix it in iOS 7 but the text doesn't show. Anyone knows why this is happening?
// Changed this
//[info_ drawInRect:r withFont:[UIFont systemFontOfSize:kSGInfoAlert_fontSize]];
// To this
NSDictionary *textAttributes = @{NSFontAttributeName: [UIFont systemFontOfSize:kSGInfoAlert_fontSize]};
[info_ drawInRect:r withAttributes:textAttributes];
Here is the git repository https://github.com/sagiwei/SGInfoAlert