1.如果是模態想要呈現導航欄 就把彈出的模態Controller放在導航欄的根視圖。
ZhuceViewController *ce=[[ZhuceViewController alloc]init];
UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController: ce];
[self presentViewController:nav animated:YES completion:nil];
2.UITableView的代理方法,縮進
- (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath {
NSInteger row = indexPath.row;
return row;
}
3消息紅點第三方控件
PPDragDropBadgeView 第三方顯示紅點數字
LCBannerViewDemo? 圖片切換滑動控件
UzysAssetsPickerController? :多張圖片選取
QBImagePickerController; 拍照多張選取