In iOS7 CGContextSelectFont is deprecated. Deprecation message says that I have to use Core Text, but I don\'t know which is the exact equivalent of this piece of code:
You probably can use the following to replace it.
CGContextSetFont
CGContextSetFontSize