Post

Replies

Boosts

Views

Activity

Reply to Programmatically open up Help Book.
I ended up with this: CFBundleRef mainBundle = CFBundleGetMainBundle(); CFStringRef resourceName = (__bridge CFStringRef)@"ReadMe"; CFStringRef resourceType = (__bridge CFStringRef)@"html"; CFStringRef resourceDir  = (__bridge CFStringRef)@"TrainHelp"; CFURLRef url = CFBundleCopyResourceURL( mainBundle, resourceName, resourceType, resourceDir ); OSStatus s = LSOpenCFURLRef(url, 0); if (s) NSLog( @"Failed to open help documentation." ); CFRelease( url ); Although it seems to me that this could have been done an easier way.
Nov ’20