NSTimer was not triggered
<p>I used the code below to wait for NSTimer triggered</p>

<pre><code>    -(void)timer1Fired :(NSTimer *) timer
    {

    isTriggered=true;

    }


    //----------------------------------------------
    isTriggered=false;

    [NSTimer scheduledTimerWithTimeInterval:1  
                                 target:self
                               selector:@selector(timer1Fired:)
                               userInfo:nil
                                repeats:NO];






    int j1 = 0;
    while ( !isTriggered &amp;&amp; j1 &lt;   1000)
    {

        [NSThread sleepForTimeInterval: 0.5];

        j1++;

    }
    //continue to do  something   //b
</code></pre>

<p>but it looks like NSTimer never be triggered</p>

<p>Welcome any comment</p>
