1.宏
(井号)ifdef 判断某个宏是否被定义, 若已定义, 执行随后的语句
(井号)endif 结束标志
(井号)error 自定义错误
2.为了测试播放网络视频,测试视频地址:
http://gslb.miaopai.com/stream/dvYfgPV2-esvEzMkVchTng__.mp4
3.Tabbar图片下移
CGFloat offset = 5.0;
tvc.tabBarItem.imageInsets = UIEdgeInsetsMake(offset, 0, -offset, 0);
4.tableView右边的箭头
//右边的提示图片
/*
1、UITableViewCellAccessoryNone 没有任何图片
2、UITableViewCellAccessoryCheckmark 对勾
3、UITableViewCellAccessoryDetailButton 圆圈带!号
4、UITableViewCellAccessoryDetailDisclosureButton 圆圈带!号 + 右箭头
5、UITableViewCellAccessoryDisclosureIndicator 右箭头
*/
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
本文详细介绍了如何使用宏ifdef进行条件判断、测试播放网络视频、调整Tabbar图片位置以及配置tableView的箭头提示,涵盖了前端开发、移动开发领域的关键操作。
6268

被折叠的 条评论
为什么被折叠?



