Images on iPhone tab bar don't appear
2012-05-19 19:48
471 查看
You may see only meaningless rectangles when customizing the tab bar items using initWithTitle:image:tag:,
this may be because that the background of your png file is not transparent.
iOS just fails everything quietly and you'll need to spend hours to understand why, this really sucks.
this may be because that the background of your png file is not transparent.
iOS just fails everything quietly and you'll need to spend hours to understand why, this really sucks.
相关文章推荐
- 解决Error: cannot call methods on tabs prior to initialization; attempted to call method 'disable'的方法
- 解决Xcode-Code Sign error: Certificate identity 'iPhone Developer: My Name (xxx)' appears more than on
- Iphone 开发-> 在Tab Bar中使用Navigation
- wampserver出现You don't have permission to access / on this server.
- Note On <You Don't Know JS - Scope and Closures>
- you don't have permission to access / on this server(Apache Server权限访问问题)
- Microsoft Working On Word Patch; Don't Panic Say Experts
- Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayOptions(int)' on a null objec
- 杭电 HDU 1037 Keep on Truckin'
- 爱学习,爱编程,爱咖啡可乐 爱挑战,爱钻研,爱打游戏 爱晚起,也爱工作到深夜 我擅长技术,崇尚简单和懒惰 我神秘而孤僻,沉默而爱憎分明 Don't Panic! I'm a programmer
- 【iPhone代码片段之八】如何自定义Tab Bar Button
- Ubuntu1404 :aclocal-1.14' is missing on your system
- Could not find property 'zipAlignEnabled' on com.android.build.gradle.internal.api.ApplicationVarian
- 异常:Property 'name' not found on type java.lang.String,attribute items does not accept any
- POJ 2578 Keep on Truckin'(水题)
- 解决No “rule to make target `../Database/images/login.png', needed by `debug/qrc_image.cpp'. Stop.”
- Don't settle for <html:error>
- 我没有时间 I Don't Have Time?
- IPHONE开发 在VIEW中点击按钮如何转入TAB BAR VIEW
- Ubuntu 14.04 PHP Warning: Module 'PDO' already loaded in Unknown on line 0 PHP (solved)