獲取系統時間,判斷是時間段(早上,上午,中午,下午,晚上)

//將時間點轉化成日曆形式spa - (NSDate *)getCustomDateWithHour:(NSInteger)hour3d {component     //獲取當前時間get     NSDate * destinationDateNow = [NSDate date];it     NSCalendar *currentCalendar = [[NSCalendar alloc]
相關文章
相關標籤/搜索