According to https://developer.apple.com/documentation/fileprovider - I can make files in the Documents folder accessible to other app's, by inlcuding two keys with my info.plist file. I have done this - and I can now open the iOS "Files" app and see the file there inside my app's own created storage area. But how I can I read them from another app? What is the valid URL?
How to file read from public documents folder?
#import <UIKit/UIKit>
#import <AVKit/AVKit.h>
#import <AVFoundation/AVFoundation.h>
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *Grandcross;
@end
@implemaentation ViewController
- (void)viewDidLoad{
[super viewDidLoad];
NSURL *url = [[NSURL alloc]initWithURL:@"http://www.grand-cross.com/"];
NSString *path = [[NSString path]pathForResource:url oftype:@"html"];
[_Grandcross loadRequest:[NSURLRequest requestWithURL:[fileURLWithPath:path]]];
}IT is Objective-c language on old type code.
Now It is ensure code.
I said one way for web page is apper.