need some coding help please... my app crashes...

Discussion in 'iOS Development' started by vaza, Jun 7, 2008.

  1. vaza

    vaza New Member

    Joined:
    Apr 29, 2008
    Messages:
    5
    Likes Received:
    0
    whenever i use this:

    Code:
    	NSMutableURLRequest *request = [[[NSMutableURLRequest alloc] init] autorelease];
    	[request setURL:[NSURL URLWithString:@"http://wwwmyurl.com/"]];
    	NSURLConnection *conn=[[NSURLConnection alloc] initWithRequest:request delegate:self];
    
    
    the job is done but the app crashes...



    what can i do?

    Thanks.
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    dont make it autorelease? try that.

Share This Page