title: iOS Can i play sound using local notification when app is in foreground
body: <p>Local Notification sound is not playing when app is in foreground : I Used following code</p>
  
  <pre><code>UILocalNotification *notif = [[cls alloc] init];
  notif.fireDate = [datePicker date];         
  notif.timeZone = [NSTimeZone defaultTimeZone];
  notif.alertBody = @"Did you forget something?";
  notif.alertAction = @"Show me";
  notif.soundName = @"step.mp3";//UILocalNotificationDefaultSoundName;
  notif.applicationIconBadgeNumber = 1;
  
  NSDictionary *userDict = [NSDictionary dictionaryWithObject:reminderText.text
                                                                   forKey:kRemindMeNotificationDataKey];
  notif.userInfo = userDict;
  
  [[UIApplication sharedApplication] scheduleLocalNotification:notif];
  [notif release];
  </code></pre>