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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:29:24+00:00 2026-05-28T03:29:24+00:00

I have created Map application and it is running on my mac machine with

  • 0

I have created Map application and it is running on my mac machine with xcode. But when I created its ipa file and sync with my iPhone device it does not open. Only splash screen
get open and getting close. I have my developer and distribution certificate sign with device UDID. My client also could not able to run the application remotely….thanks in advance for your help. plz suggest what I am missing here??

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

  //sleep(0.5);



arrayNo = [[NSMutableArray alloc] init];             //pickerview radius array

[arrayNo addObject:@"5km"];
[arrayNo addObject:@"10km"];
[arrayNo addObject:@"15km"];

   [window addSubview:[viewController view]];
[window makeKeyAndVisible];

return YES;

}

Upadated: with leaks problems

I am also checking the possibility with memory leaks and using instrument tool I am getting 100% leaks at the time of launching the application. Its NSPlaceholderString leaks on following code…

CLLocationCoordinate2D location;


    NSString *url = [NSString stringWithFormat:@"..myurl......lat=%f&lng=%f&radius=5",locationManager.location.coordinate.latitude,locationManager.location.coordinate.longitude];

    radiusinurl.text = @"5km";
    NSURL *URL = [NSURL URLWithString:url];
    NSXMLParser *xmlParser = [[NSXMLParser alloc] initWithContentsOfURL:URL];
    //Initialize the delegate.
    **XMLParser *parser = [[XMLParser alloc] initXMLParser];**   //5.3% leaks
    //Set delegate
    [xmlParser setDelegate:parser];
    //Start parsing the XML file.
    **BOOL success = [xmlParser parse];**           //0.2% leaks

        [xmlParser release];
        [parser release];
  if(success)

    {                     
 NSLog(@"show me [appDelegate.markers count] %d",[appDelegate.markers count]);


        annobjs = [[NSMutableArray array] retain];
        if([appDelegate.markers count] == 0)
        { //99% leaks on below line where I am calling another method
**[self performSelector:@selector(showingThreeResultsOnCurrentLocation)   withObject:nil];**         //99% leaks
        }
        else
        {//some logic

        }

    }
    else
    {

         //logic
    }}}}

I have commented leaks at the end of line. Can you correct my code. 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-05-28T03:29:25+00:00Added an answer on May 28, 2026 at 3:29 am

    Initialize view controller first

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
     {
         NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];  //This is for autoresize when in phone call mode(which does not work yet)
         [dict setObject:@"trigger" forKey:@"frame"];
    
         [[NSNotificationCenter defaultCenter] postNotificationName:@"trigger"
                                                    object:self
                                                  userInfo:dict];
    
         arrayNo = [[NSMutableArray alloc] init];             //pickerview radius array
    
         [arrayNo addObject:@"5km"];
         [arrayNo addObject:@"10km"];
         [arrayNo addObject:@"15km"];
    
        viewController = [[UIViewController alloc] initWithNibName:@"UIViewController" bundle:nil];
        UINavigationController *nav = [[UINavigaitonController alloc] initWithRootViewController:nav];
    
      self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
      self.window.rootViewController = nav;
      [self.window makeKeyAndVisible];
      return YES;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created Map application for iPhone using xcode 3.2 and sdk 4.3.2. I
I am new to iphone development.I have created a map application.I have created a
I am new to iphone development.I am creating a map application. I have created
I am new to iphone development.I have created map applications and displayed the cuurent
I have created a map application for android smart phones and I want it
I have created MVC application. I want to include js or css file into
I have created a map application to show near by places on the map.When
I have an ArcGIS map created with Flex. The labels created dynamically are the
I have created a C# class file by using a XSD-file as an input.
I have created a JavaScript application that requires all images to be preloaded first.

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.