Reputation: 16405
I am using the following lines in my code.
EKAuthorizationStatus authorizationStatus= [EKEventStore authorizationStatusForEntityType:EKEntityTypeEvent];
Now the above lines is available only in 10.9 + . How can let the code compile in 10.8 system ? In runtime i will surround the above checks with OS version. I need something that will block the code in a 10.8 system during compilation.
Kind Regards,
Upvotes: 1
Views: 29
Reputation: 9731
By using the 10.9 SDK. As long as SDK >= Deployment Target then it will be fine and the host system used during development is not important.
Upvotes: 1