- Added some checks to ensure safety when used on versions prior to iOS7