0
我有在标签栏的问题
选择(当应用程序加载最初 默认它显示被选择的第一标签栏图标并将其重定向 到该网页也)标签栏第一图标被默认罗德
这里是我的代码
class AppApplication < Rho::RhoApplication
def initialize
tabbar = [
{:label => 'search', :action => '/app/Search', :icon => '/
public/images/Icons/search.png', :reload => true},
{:label => 'map', :action => '/app/Map', :icon => '/public/
images/Icons/map.png', :reload => true},
{:label => 'menu', :action => '/app/Account', :icon => '/public/
images/Icons/menu.png', :reload => true},
{:label => 'businesses', :action => '/app/Work', :icon => '/
public/images/Icons/businesses.png', :reload => true},
{:label => 'reviews', :action => '/app/Review', :icon => '/
public/images/Icons/reviews.png', :reload => true}
]
Rho::NativeTabbar.create(:tabs => tabbar, :place_tabs_bottom =>
true)
@@toolbar = nil
super
end
end
- 这里(当应用程序加载初始“搜索”图标选择 默认情况下,也将其重定向到搜索页面,但在rhoconfig.txt srart路径
'/app/Map'
如何避免此问题?