There are also URLEncoded... versions of those components that should help to URL encode properly per component type. I'm not sure which SDK added that.
Sent from my iPhone > On Apr 21, 2016, at 12:08 PM, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > >> On Apr 20, 2016, at 19:59 , Graham Cox <graham....@bigpond.com> wrote: >> >> What’s the correct way to append an anchor to a URL? > > I believe you need to use NSURLComponents, and specify the “fragment” > property. > > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/dangerwillrobinsondanger%40gmail.com > > This email sent to dangerwillrobinsondan...@gmail.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com