在cellforrow里面写的,
发了一个通知,加载了好几次个人信息,只有在 cellforrow里面添加判断了,
if (SharedAppDelegate.userInfo.albumArray.count == 0) {
if (SharedAppDelegate.userInfo.albumArray.count == 0) {
if (SharedAppDelegate.userInfo.albumArray.count == 0) {
SharedAppDelegate.userInfo.albumArray = [NSMutableArray array];
}
AlbumInfo *info = [[AlbumInfo alloc]init];
info.pic = @"icon_plus_album.png";
info.addtime = -1000;
[SharedAppDelegate.userInfo.albumArray addObject:info];
}
}