application not running correctly on iphone and ipad
===

How can i fix the problem of application which is detecting blow properly on simulator but not detecting blow on iphone and ipad.
i am using the following code. 

[recorder updateMeters];
    
    const double ALPHA = 0.05;
    double peakPowerForChannel = pow(10, (0.05 * [recorder peakPowerForChannel:0]));
    lowPassResults = ALPHA * peakPowerForChannel + (1.0 - ALPHA) * lowPassResults;
    
    if (lowPassResults > 0.95)
    {

//Code for Resizing UIImage

   }