Hide nav and title on specific template ionic

时间:2015-07-29 00:34:37

标签: ionic-framework ionic

I have a ionic app and I want no data class; set sashelp.class; if _n_=1 then sex=''; run; %macro test2(parameter1= , parameter2=, sex=); DATA data_gender; SET class( %if %length(%superq(sex)) %then %do; where=(sex="&sex.") %end; ); RUN; %mend; %test2(sex=) %test2(sex=%str( )) or nav for the login page. I have worked out to remove the title with ..

title

but the nav at the bottom still stays on the screen

enter image description here

<ion-view title="Login" hide-nav-bar="true" >
<ion-content padding="true" has-header="false">

1 个答案:

答案 0 :(得分:0)

您的登录状态不得在view内。这些标签来自settings视图。你只需简单地删除它。

$stateProvider.state('login',
       {
        url: '/login',
        templateUrl: 'login.html'            
       }
 })

我希望有所帮助!