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;