Custom DatePicker using UIPIckerView
问题 I am new to ios development. I am making a custom datepicker using uipickerview. I have datesArray to be used as a data source for uipickerview. I want to know how to show only Labels : today,tomorrow,Fri,Sat,Sun,Mon,Tues for current week and rest dates in format "EEE, LLL d". I tried this code but it didn't work. for(int i=0;i<22;i++) { NSDate *myDate = [NSDate dateWithTimeIntervalSinceNow:60 * 60 * 24 * i]; NSDate *now=[NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]