• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How Do You Open Default Web Browser and goto URL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Do You Open Default Web Browser and goto URL?


  • Subject: Re: How Do You Open Default Web Browser and goto URL?
  • From: Jens Alfke <email@hidden>
  • Date: Thu, 1 May 2008 21:19:05 -0700


On 1 May '08, at 9:05 PM, Peter Zegelin wrote:

If I shorten the Subject to just subject=AlphaDraw it works but it looks like any spaces are causing the method to fail.
Any suggestions what may be wrong?

Spaces aren't legal in URLs, so the NSURL object you're getting is nil. You have to URL-encode the subject string, calling - stringByAddingPercentEscapesUsingEncoding:.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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

  • Follow-Ups:
    • Re: How Do You Open Default Web Browser and goto URL?
      • From: Peter Zegelin <email@hidden>
References: 
 >How Do You Open Default Web Browser and goto URL? (From: Peter Zegelin <email@hidden>)
 >Re: How Do You Open Default Web Browser and goto URL? (From: Michael Vannorsdel <email@hidden>)
 >Re: How Do You Open Default Web Browser and goto URL? (From: Peter Zegelin <email@hidden>)

  • Prev by Date: Re: How Do You Open Default Web Browser and goto URL?
  • Next by Date: Re: How Do You Open Default Web Browser and goto URL?
  • Previous by thread: Re: How Do You Open Default Web Browser and goto URL?
  • Next by thread: Re: How Do You Open Default Web Browser and goto URL?
  • Index(es):
    • Date
    • Thread