I am getting json response which contains cutoff time as a array.SlotTime = ({
cutofftime = 18;
endtime = 10;
slotid = "Morning_First_Slot";
slotmaxorder = 50;
slotname = "7 AM - 10 AM";
starttime = 7;
}, {
cutofftime = 21;
endtime = 13;
slotid = "Morning_Second_Slot";
slotmaxorder = 50;
slotname = "10 AM - 1 PM";
starttime = 10;
}, {
cutofftime = 9;
endtime = 19;
slotid = "Evening_first_slot";
slotmaxorder = 50;
slotname = "4 PM - 7 PM";
starttime = 16;
}, {
cutofftime = 12;
endtime = 22;
slotid = "Evening_second_slot";
slotmaxorder = 50;
slotname = "7 PM - 10 PM";
starttime = 19;
}); .I have to select upto 7 days in pickerview from todays date which i implemented.But how to show slot time on selection of date. i tried to implement the logic but failed.Please suggest me how to do that .Suppose i selected todays date if slot not available then display that message othervise set the slot in array.
lundi 18 juillet 2016
Show cut of time according to selected date in ios
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire