drawInRect for NSAttributedString is available only for iOS 6 or newer.