Hi I would like to hide a block of code in one of my project. Hidding means I don't want to execute a block of code in one IOS version like IOS6 and want to execute in another version like in IOS7.Why I would like to do this is because any IOS developer know one universal truth that is most of the times Apple introduce new features in new versions due to that there may be changes in SDk.And if we want to run newer version app in older version compiler will give errors because new version related methods won't be available in older version. So in order to avoid these errors I need one approach for hiding a block of code which is related to new version while running app in older version.
So If anyone know please let me know.Thanks in advance.