You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s = s.stringByReplacingOccurrencesOfString("<maximagewidth>", withString:"80%")
131
131
s = s.stringByReplacingOccurrencesOfString("<fontsize>", withString:"18")
@@ -147,7 +147,7 @@ class WebViewController: UIViewController, UIWebViewDelegate, UIViewControllerRe
147
147
leturl=NSURL.fileURLWithPath(path)!
148
148
self.wv.loadRequest(NSURLRequest(URL: url))
149
149
case4:
150
-
letpath=NSBundle.mainBundle().pathForResource("test", ofType:"rtf")! // works in simulator, blank on device :( "Cannot find data converter callback for uti public.rtf" [known issue, see release notes]
150
+
letpath=NSBundle.mainBundle().pathForResource("test", ofType:"rtf")! // works in simulator, works in device (iOS 8.3, I think it was fixed in 8.1)
151
151
leturl=NSURL.fileURLWithPath(path)!
152
152
self.wv.loadRequest(NSURLRequest(URL: url))
153
153
case5:
@@ -171,7 +171,7 @@ class WebViewController: UIViewController, UIWebViewDelegate, UIViewControllerRe
171
171
leturl=NSURL.fileURLWithPath(path)!
172
172
self.wv.loadRequest(NSURLRequest(URL: url))
173
173
case10:
174
-
letpath=NSBundle.mainBundle().pathForResource("test", ofType:"rtfd.zip")! // blank in simulator, blank on device, "Cannot find data converter callback for uti com.apple.rtfd"
174
+
letpath=NSBundle.mainBundle().pathForResource("test", ofType:"rtfd.zip")! // blank in simulator, blank on device, "Unable to read document" displayed
175
175
leturl=NSURL.fileURLWithPath(path)!
176
176
self.wv.loadRequest(NSURLRequest(URL: url))
177
177
case11:
@@ -204,7 +204,7 @@ class WebViewController: UIViewController, UIWebViewDelegate, UIViewControllerRe
0 commit comments