• 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: help! (book)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help! (book)


  • Subject: Re: help! (book)
  • From: Jerome Krinock <email@hidden>
  • Date: Tue, 27 Jun 2017 15:17:16 -0700

> On 2017 Jun 26, at 08:36, J.E. Schotsman <email@hidden> wrote:
>
> Hello,
>
> I still cannot get my help book anchors to work programmatically (using
> NSHelpManager.shared().openHelpAnchor).

For some reason, in my apps, I use the method which also passes the help book
name, and it works for me, in Objective-C:

- (void)openHelpAnchor:(NSString*)anchor {
    if (!anchor) {
        return;
    }

    NSString* bookName = [self helpBookName] ;
    [[NSHelpManager sharedHelpManager] openHelpAnchor:anchor
                                               inBook:bookName] ;
}

wherein [self helpBookName] returns the content of the meta named “AppleTitle"
in the <head> of the index.html of my help book, for example:

        <meta name="AppleTitle" content=“My Help Book" />


_______________________________________________

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

References: 
 >help! (book) (From: "J.E. Schotsman" <email@hidden>)

  • Prev by Date: Re: Is cloning the same as copying in APFS?
  • Next by Date: Re: Is cloning the same as copying in APFS?
  • Previous by thread: help! (book)
  • Next by thread: Is cloning the same as copying in APFS?
  • Index(es):
    • Date
    • Thread