| | |
| | | NSLog(@"%@",error); |
| | | } |
| | | |
| | | - (void)nativeExpressAdViewClosed:(GDTNativeExpressAdView *)nativeExpressAdView{ |
| | | NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:3]; |
| | | UICollectionViewCell *cell = (UICollectionViewCell *)[self.collectionView cellForItemAtIndexPath:indexPath]; |
| | | for(UIView *subview in cell.subviews){ |
| | | [subview removeFromSuperview]; |
| | | } |
| | | |
| | | } |
| | | |
| | | #pragma mark ---------- SearchDelegate --------- |
| | | - (void)hotSearchEvent:(NSString *)name { |
| | | [self writeSearchKey:name]; |
| | |
| | | return titleSize; |
| | | |
| | | } else { |
| | | return CGSizeMake(KScreenW, 198); |
| | | return CGSizeMake(KScreenW, KScreenW*0.6); |
| | | } |
| | | } |
| | | |