> On 2017 Apr 14, at 18:17, Frank D. Engel, Jr. <[email protected]> wrote: > > <a name="refLayers"></a>
In my Help Book, my working anchors use `id` instead of `name`. I forgot why. Example: <h2><a id="testAgentsSmarky"></a>2.3.1  Testing Syncing in Smarky</h2> > NSLog(@"help: '%@'", what); > NSString *locBookName = [[NSBundle mainBundle] objectForInfoDictionaryKey: > @"CFBundleHelpBookName"]; > [[NSHelpManager sharedHelpManager] openHelpAnchor:what inBook:locBookName]; Looks OK but you should log that locBookName too. If neither of these suggestions fixes the problem, the next level of trouble is caching by Apple Help Viewer. Try running this script, or pieces of it, in Terminal.app. https://github.com/jerrykrinock/DeveloperScripts/blob/master/HelpViewerHammer.sh I’ve not had to use it in several years, though. Maybe Apple has fixed the caching. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
