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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:35:09+00:00 2026-06-13T16:35:09+00:00

In my App the User needs to type in some Address Information. I provide

  • 0

In my App the User needs to type in some Address Information.
I provide an Addressbook Button for that since Version 1.0.
That worked fine in my previous tests, but now I get a SIGSEGV when I try to set my UITextField.Text property. This error occurs everytime when I try to Pick an Address from the PeoplePicker in MonoTouches Debug mode, when I try that on my iPhone the eror occurs randomly between setting the TextFields and pushing the next ViewController.
Is There anything wrong in my Code or is it a bug?

        //AB Button Event
        addressBook.TouchUpInside += delegate {
            //Create new Picker
            ABPeoplePickerNavigationController PP = new ABPeoplePickerNavigationController();
            //Cancel Event
            PP.Cancelled += delegate {
                NavigationController.DismissViewController(true, null);
            };
            //Select Event
            PP.SelectPerson += delegate(object sender, ABPeoplePickerSelectPersonEventArgs e) {
                //Detailed Person View
                ABPersonViewController pv = new ABPersonViewController();
                //Action when clicked on a Property
                pv.PerformDefaultAction += delegate(object person, ABPersonViewPerformDefaultActionEventArgs ev) {
                    //If the Property was an Address
                    if(ev.Property.ToString() == "Address"){
                        string lands = "", orts = "", plzs = "";
                        try{
                            //Read the Detailed Address Data from the clicked property
                            ABMultiValue<PersonAddress> addresses = ev.Person.GetAllAddresses();
                            PersonAddress[] values = addresses.GetValues();
                            lands = values[ev.Identifier.Value].Country.ToString();
                            orts = values[ev.Identifier.Value].City.ToString();
                            plzs = values[ev.Identifier.Value].Zip.ToString();
                        }catch{
                            Console.WriteLine("Fehlerhafte Addresse");
                        }
                        //Set the Textfield with the new information
                        //iPhone Simulator in Debugmode crashes here everytime
                        land.Text = lands;
                        ort.Text = orts;
                        plz.Text = plzs;
                        //Close the Module
                        NavigationController.DismissViewController(true, null);
                    }
                };
                //Set selected Person for the person View
                pv.DisplayedPerson = e.Person;
                //Open Person View with navigation from the PeoplePicker Controller
                PP.PushViewController(pv, true);
            };
            //Open PeoplePicker Controller Module
            NavigationController.PresentViewController(PP, true, null);
        };

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-13T16:35:10+00:00Added an answer on June 13, 2026 at 4:35 pm

    The just released MonoTouch 6.0.5 has a fix for a similar issue.

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

Sidebar

Related Questions

I'm working on an app that needs to accept a RegEx from the user,
I need a function that a user can just click a flash app button
I'm writing a diagnostic app which needs to log what the user has set
Our .NET app copies large files, and needs to give the user feedback; so
I am writing an app that will need to unzip user uploaded archives. PHP
I am writing an app that listens on a network connection, and when some
I'm writing a Windows Phone 7 app that needs to be location aware. Specifically
I need to create some type of Quizz app witch have to have 2
I'm writing a quiz type app and I've seen some on itunes where you
My app bounces the user out of the app into safari to do some

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.