Re: help! (book)
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>) |