I am getting the text size of a string with this
textSize = [[tempDict valueForKeyPath:@\"caption.text\"] sizeWithFont:[UIFont systemFontOfSize:12] constrain
@Simha.IC answer is great.
However it does not work with the new iOS 9.1 emojis'.
Simha.IC snippet is not detecting these ones: