add Programmatically detect which iOS version is device running on, update readme
Add example usage
Merge branch 'newMacro'