uni-app hbuilderx alpha3.4.5版本脚手架打包时ios底部tabbar显示错乱
uni-app hbuilderx alpha3.4.5版本脚手架打包时ios底部tabbar显示错乱
| 信息类型 | 信息内容 |
|---|---|
| 产品分类 | HbuilderX |
| 操作系统 | Windows |
| 操作系统版本 | 21H2 |
| HBuilderX版本 | 3.4.5 |
bug描述:
uniapp项目中,ios打包安装tabbar底部导航栏没有问题,但是在脚手架中打包安装tabbar底部导航栏文字和图片还是紧挨着的。
3 回复
HX 3.4.5 版本已修复此问题
更多关于uni-app hbuilderx alpha3.4.5版本脚手架打包时ios底部tabbar显示错乱的实战教程也可以访问 https://www.itying.com/category-93-b0.html
我用的就是3.4.5版本打包的,打包出来安装不行,把项目转成uniapp打包安装没有问题。
在 uni-app 的 HBuilderX Alpha 3.4.5 版本中,如果你在打包 iOS 应用时遇到底部 TabBar 显示错乱的问题,可能是由于以下几个原因导致的。以下是一些可能的解决方案:
1. 检查 pages.json 配置
确保你的 pages.json 文件中 tabBar 的配置正确。特别是 list 中的 pagePath 和 iconPath 等字段是否正确配置。
{
"tabBar": {
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home_selected.png",
"text": "首页"
},
{
"pagePath": "pages/user/user",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "static/tabbar/user_selected.png",
"text": "我的"
}
]
}
}

