update 'UIView#uiimage' to use iOS7 api if available.