Fix sizeWithFont has been deprecated in iOS7

Fix sizeWithFont has been deprecated in iOS7