//如果没有数据,展示的友好页面
-(void)makeFriendNoticeView{
if(morningArr.count==0) {
moringFriendView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 50, selectView.width, label_h*4)];
moringFriendView.image =[UIImage imageNamed:@"gh_registered_makeappointments_noscheduling"];
moringFriendView.contentMode = UIViewContentModeCenter;
CATransition*applicationLoadViewIn =[CATransitionanimation];
[applicationLoadViewInsetDuration:1];
[applicationLoadViewInsetType:kCATransitionReveal];
[applicationLoadViewInsetTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseIn]];
[[moringFriendView layer]addAnimation:applicationLoadViewIn forKey:kCATransitionReveal];
[selectView addSubview:moringFriendView];
}else{
[moringFriendView removeFromSuperview];
}
}