I am developing an application in ionic and I have the following problem in IOS. In android it does not happen to me.
I have this line:
<ion-badge color="success" *ngIf="banderaflag" style="position:absolute; left:50%; top:-75%" routerLink="/notificaciones">{{numeronotificaciones}}</ion-badge>
This banderaflag I declared like this.
banderaflag= false;
And here is the function I used for changing the banderaflag’s value:
notificacionescontar(){
if( this.numeronotificaciones > 0){
this.banderaflag= true;
}else{
this.banderaflag= false;
} }
In android, when banderaflag change from false to true, the ion-bagde tag appears perfectly. But in IOS dont.
In IOS.
In Android:
What Can i do?
1 post - 1 participant