Thursday 15 May 2014

objective c - How to determine first week day in iOS? -


I am using Tapku's calendar in my application and I want to determine whether the week is Sunday or Monday Should I start the user settings for the first time, but for some reasons it returns 1 (Sunday) to a device where the underlying calendar starts on Monday (and so it should be back in 2) on Monday. :

  NSCalendar * Cal = [[NSCallander Allok] Init With Calender Identifier: NSGGorian Calendar]; [Cal before wieck];   

What am I missing?

OK, so it has been found that this is the right way to do this:

  [[NSC calendar calendar] First Wake]    

No comments:

Post a Comment