osx - UIWebView in IOS 8 tables are not showing correctly -
We recently upgraded to iOS 8 (and compiled applications).
We looked at the tables with the text and are not displaying well (we use UIWebView).
Did anyone encounter this? Is this a known issue or a bug?
This code is:
#import "ViewController.h" @ interface view controller () @ property (weak, non-optic) ibotlet UIWebView * viewWeb; @end @implementation ViewController - (zero) viewDidoadload {[Super Viewedload]; // Setup an additional after loading the view, usually from a nib Nssting * fullpath = @ "/ user / deployment / download / table-2.ppt"; [_viewWeb load data: [NSData dataWithContentsOfFile: fullPath] MIMEType: @ "Application / vnd.ms-PowerPoint" text encoding name: zero baseURL: zero]; } - (void) has received a Memoriarning {[super Ddraeswimamomi warning]; // Any resource settlement which can be reproduced }
@end
Thank you!
Do you try this code ...?
UIWebView * webView = [[UIWebView alloc] initWithFrame: CGRectMake (10.0.10.0300,300)]; [Webview Set Skales pageTofit: Yes]; WebView.backgroundColor = [UIColor clear collar]; NSString * ppt = [[NSBundle Main Bundle] pathForResource: @ "Test" type: @ "PPT"]; NSURL * pptURL = [NSU file file path: PTP]; NSURLRequest * Request = [NSURL request request withURL: pptURL]; [WebView loadRequest: request]; [Self.view addSubview: webView];
If this code does not even work with your PPT file. Please also share your PPT file. This code is working in my case. There may be some problem with the presentation file.
Comments
Post a Comment