Re: Application crashing on iPod Touch, not on iPhone
Re: Application crashing on iPod Touch, not on iPhone
- Subject: Re: Application crashing on iPod Touch, not on iPhone
- From: Matt Neuburg <email@hidden>
- Date: Thu, 03 Dec 2009 08:59:16 -0800
- Thread-topic: Application crashing on iPod Touch, not on iPhone
On Thu, 03 Dec 2009 13:37:32 +0100, S?bastien Stormacq <email@hidden>
said:
>For your curiosity : [NSURL urlWithString] is the culprit : it throws a
NSException on the Touch when there is no network, not on the iPhone ;-)
That's hard to believe. To transform a string into a URL should have no
dependency on whether there's a network. The dependency on the network
should come later, like when you actually try to download something! And
Apple's own examples do no exception checking around [NSURL urlWithString].
So if you're certain this is the problem, I would suggest filing a
bugreporter bug. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden