I'm trying to embed Power BI report & dashboard in a custom mobile app. I'm using webview (WKWebView) because I see there is no API besides Javascript to display the report in my (iOS) mobile apps. The embedded report is running, but i found this grey box when I try to interact with it and the user find it a little bit disturbing. ( check out this video ). I put the html file in the asset (xcode project) and then load it into a WebView.
@property (strong, nonatomic) IBOutlet WKWebView *dashboardWV;
NSString *filePath=[[NSBundle mainBundle]pathForResource:@"BI" ofType:@"html" inDirectory:@"powerbi"];
NSURL *url = [NSURL fileURLWithPath: filePath];
NSURLRequest* request = [NSURLRequest requestWithURL:url];
[dashboardWV loadRequest:request];
Is there another way to embed the report to my mobile apps without webview / to get the same user experience with the PowerBI Mobile apps? I see that the PowerBI Mobile App (unlike mine) run smoothly in the iPad without the Grey Boxes.