Я не пробовал это, но это может сработать!
Создайте свой UIWebView и загрузите первый HTML-файл из вашего пакета
NSString *file = [[NSBundle mainBundle] pathForResource:@"a" ofType:@"html"];
NSString *html = [NSString stringWithContentsOfFile:file encoding:NSUTF8StringEncoding error:nil];
[webView loadHTMLString:[NSString stringWithFormat:@"<html><head></head><body>%@</body></html>", html] baseURL:baseURL];
webView.delegate = self;
Тогда получите, когда пользователь нажмет на ссылку
-(BOOL)webView:(UIWebView *)inWeb shouldStartLoadWithRequest:(NSURLRequest *)inRequest navigationType:(UIWebViewNavigationType)inType {
if (inType == UIWebViewNavigationTypeLinkClicked) {
// Find which link is selected, get the file and load it into the UIWebView
}
return YES;
}