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

  • Home
  • SEARCH
  • 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 582763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:43:18+00:00 2026-05-13T14:43:18+00:00

when i insert this code it will make an error how can i handle

  • 0

when i insert this code it will make an error how can i handle event without error?

- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error
{
switch (result)
    {
        case MFMailComposeResultCancelled:
            URLCacheAlertWithError(@"Result: canceled");
            //message.text = @"Result: canceled";
            break;
        case MFMailComposeResultSaved:
            URLCacheAlertWithError(@"Result: saved");
            //message.text = @"Result: saved";
            break;
        case MFMailComposeResultSent:
            URLCacheAlertWithError(@"Result: sent");
            //message.text = @"Result: sent";
            break;
        case MFMailComposeResultFailed:
            URLCacheAlertWithError(@"Result: failed");
            //message.text = @"Result: failed";
            break;
        default:
            URLCacheAlertWithError(@"Result: not sent");
        //  message.text = @"Result: not sent";
            break;
    }
}

2010-01-31 22:07:05.638 iPortals[1678:207] *** -[NSCFString localizedDescription]: unrecognized selector sent to instance 0x38474
2010-01-31 22:07:05.643 iPortals[1678:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFString localizedDescription]: unrecognized selector sent to instance 0x38474'
2010-01-31 22:07:05.649 iPortals[1678:207] Stack: (
    844776241,
    843056877,
    844780055,
    844282517,
    844245696,
    20767,
    12345,
    807831445,
    807768071,
    807781201,
    844553639,
    807717485,
    844537573,
    851058789,
    851397973,
    844537573,
    851058789,
    851058693,
    851058647,
    851057969,
    851060293,
    851056221,
    851054649,
    851040559,
    851039143,
    848378745,
    844528685,
    844526429,
    848374975,
    848375147,
    850798447,
    850793587,
    9135,
    9068
)
terminate called after throwing an instance of 'NSException'
Program received signal:  “SIGABRT”.
  • 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-13T14:43:19+00:00Added an answer on May 13, 2026 at 2:43 pm

    This means that you have sent the message localizedDescription to an object at 0x38474 which is an object of class NSCFString which does not support this message.

    You probably meant to send this method to another object that you have a pointer to, but did not retain this (probably autoreleased) object. It then got autoreleased and you send a message to the pointer (variable name), but some other method has placed an object at the same address.

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

Sidebar

Ask A Question

Stats

  • Questions 369k
  • Answers 369k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can use the log command, which puts messages into… May 14, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer Is there a problem you are having? Try the following:… May 14, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer Your <receiver> element needs to be a peer of your… May 14, 2026 at 6:19 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.