I\'m trying to use NSCalendar with NSIslamicCalendar identifier.
But the day result is not good, her\'s my code:
NSCalendar *calanda
All the answers here are good approaches, but just from scientific perspective. But indeed as a developer lives in Turkey and know what this issue stems from, Apple has more than one islamic calendar identifiers
- NSCalendarIdentifierIslamic
- NSCalendarIdentifierIslamicCivil
- NSCalendarIdentifierIslamicTabular
- NSCalendarIdentifierIslamicCivilUmmAlQura
I think what he is looking for is NSCalendarIdentifierIslamicCivil. My app also has a Hijri calendar inside it and NSCalendarIdentifierIslamicCivil resolved the issue