Fix deprecation warning when targeting ios7
Add intrinsicContentSize method