Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:39:21+00:00 2026-06-17T12:39:21+00:00

notificaiton = [[UILocalNotification alloc] init]; notificaiton.fireDate = [NSDate Date]; notificaiton.repeatInterval = 0; notificaiton.alertBody =

  • 0
notificaiton = [[UILocalNotification alloc] init];
notificaiton.fireDate = [NSDate Date];
notificaiton.repeatInterval = 0;
notificaiton.alertBody = @"Alarm";
notificaiton.timeZone = [NSTimeZone defaultTimeZone];
notificaiton.repeatCalendar = [NSCalendar currentCalendar
notificaiton.soundName = @"Alarm.wav"
[[UIApplication sharedApplication] scheduleLocalNotification:notificaiton];

my question is ,
Local Notification alert stay only for few seconds but, is it possible, local notification alert stay for few minutes?

please any body has answer

Thanks, In Advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:39:21+00:00Added an answer on June 17, 2026 at 12:39 pm

    if you mean that you need to play notification sound more than 30 sec ??? then it is not possible.

    you wrote that Local Notification alert stay only for few seconds but check proper that, this stay as per your sound file length.

    and this sound file Must be maximum 30 sec in length.

    if you will try to give soundName more than 30 sec. then it will play default sound in notification.

    find this line

    “Sounds that last longer than 30 seconds are not supported. If you specify a file with a sound that plays over 30 seconds, the default sound is played instead.” into apple notification doc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am implementing the notification this way: -(void)scheduleLocalNotificationWithDate:(NSDate *)AlarmDate{ UILocalNotification *Notification = [[UILocalNotification alloc]init];
Code: -(void)viewWillDisappear:(BOOL)animated { NSCalendar *calendar = [NSCalendar currentCalendar]; NSDateComponents *components = [[NSDateComponents alloc] init];
I use this code to create local notification: UILocalNotification *notification=[[UILocalNotification alloc]init]; notification.soundName = @new_friend_request.mp3;
How can I repeat a UILocalNotification sound? -(IBAction) scheduleNotification1 { local1 = [[UILocalNotification alloc]
I have a method that activates a local notification. UILocalNotification *localNotif = [[UILocalNotification alloc]
I'm trying to make alarm in my app. I made UILocalNotification and it works
I am working with UILocalNotification.Here When i Launch the notification i need a specific
- (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif { // Handle the notificaton when the app is
- (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif { // Handle the notificaton when the app is
I am handling local notifications using: - (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif And to schedule

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.