How to find the cause of a 100% CPU usage on an iPhone App when i use ionic2

284 Views Asked by At

when I click button quickly, which cause iPhone5 higher cpu usage? why it happened? code following:

<div>{{tempstrng}}</div>
<button tappable (touchend)="change()">add 0</button>

public change (){
   this.tempstring +='0';
}
0

There are 0 best solutions below