iOS开发中的技巧

2017-03-10  本文已影响28人  绍清_shao

1. 设置UITabBarController image被选中后的颜色

TabbarVC.png

2.switch语句报错Cannot jump from switch statement to this case label

Paste_Image.png

修改如下:case语句中添加大括号

case:..{
}```

![Paste_Image.png](https://img.haomeiwen.com/i1292402/3ac0c70ba66fa623.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)
不会报错
上一篇 下一篇

猜你喜欢

热点阅读