CGSize size = [theMessage sizeWithAttributes:
                       @{NSFontAttributeName:
                         [UIFont systemFontOfSize:20.0f]}];
Hope it helps…
2
solved sizeWithFont ios 7.0 deprecated [duplicate]
 
CGSize size = [theMessage sizeWithAttributes:
                       @{NSFontAttributeName:
                         [UIFont systemFontOfSize:20.0f]}];
Hope it helps…
2
solved sizeWithFont ios 7.0 deprecated [duplicate]