旅游.m:
-(void)loadViewMonthArr:(NSMutableArray*)arr
{
if ([arr count]) {
self.selectedDate=(NSDate*)[arr objectAtIndex:0];
// [slider setselectedbuttonfordate:self.selectedDate];
NSDateFormatter *form=[[NSDateFormatter alloc] init];
[form setDateFormat:@"MMMM dd"];
[(UILabel*)[self.view viewWithTag:7600]setText:[form stringFromDate:self.selectedDate]];
[form setDateFormat:@"yyyy"];
[(UILabel*)[self.view viewWithTag:7601]setText:[form stringFromDate:self.selectedDate]];
NSMutableArray *arr=[[NSMutableArray alloc] init];
[form setDateFormat:@"yyyy-MM-dd"];
form=nil;
arr=nil;
}
[UIView beginAnimations:@"Pie" context:nil];
[UIView setAnimationDuration:.5];
[UIView setAnimationTransition:UIViewAnimationOptionTransitionFlipFromLeft forView:self.view cache:NO];
monthlyCalendar.hidden = YES;
New_Retailer.view.hidden = NO;
[New_Retailer LoadNewRetailer];
[self.view bringSubviewToFront:New_Retailer.view];
[UIView commitAnimations];
在旅游课上,我得到了带有日期的日历。当我点击特定日期时,如何在不使用导航控制器的情况下将游览导航到 newretailer_tour 类?
我要使用 LoadNewRetailer 方法。方法有效。但是 newretailer_tour.xib 我设置了蓝色背景色。当我运行应用程序时,当我点击日期时,它将进入 newretailer_tour 类方法。但是,在模拟器中我没有得到颜色 newretailer_tour 类。建议我