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 7530815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T05:00:53+00:00 2026-05-30T05:00:53+00:00

Im integrating local notification into my app. It is working fine. But client want

  • 0

Im integrating local notification into my app.

It is working fine.

But client want to use a different sound for local notification.

I drag and drop the file into the supporting files of xcode

Can anyone please help me how to do this.

code
AlocalNotifas.soundName = @"cling.wav";
    localNotifas.soundName = [[NSBundle mainBundle] pathForResource:@"cling" ofType:@".wav"];
   //  [localNotifas setSoundName:[[NSBundle mainBundle] pathForResource:@"cling" ofType:@"wav"]];
   //  [localNotifas setSoundName:UILocalNotificationDefaultSoundName];

Can you experts please show me where im going wrong.

  • 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-05-30T05:00:54+00:00Added an answer on May 30, 2026 at 5:00 am

    Remember that your notification sounds may not be longer than 30 seconds – if the file supplied is longer, nothing will sound.

    Also, check the sound in some external player first, and best convert it to .caf format.

    To convert a file to .caf, open up terminal, go to where you have your sound stored and type in:

    afconvert -f caff -d LEI16@44100 -c 1 yourfile.wav yourfile.caf
    

    Then just set it like:

    yourNotification.soundName = @"yoursound_name.caf";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a small application and thinking about integrating BLAST or other local
I am integrating growl into my Objective-C app. However If I build and run
I'm working on integrating an HTML template slice into a SiteFinity theme and am
I am integrating an app with a service (iContact), that describes its API as
I'm looking at integrating an ESB into an existing Java/Maven web based product. Specifically,
hi i am integrating authorize.net AIM api into my shopping cart. i have a
I would like to update my local working environment to be stricter in an
I have been trying to work on integrating a NewsLetter for a companies local
We use the DBAmp for integrating Salesforce.com with SQL Server (which basically adds a
I'm integrating the Google Calendar API with jQuery DatePicker. My code works fine on

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.