Add jpeg 2000 to the list.
This commit is contained in:
parent
e3601055fc
commit
ac1c7c2363
|
@ -11,8 +11,9 @@ import WebKit
|
||||||
import MobileCoreServices
|
import MobileCoreServices
|
||||||
|
|
||||||
var typesToLoad = [("com.adobe.pdf", "application/pdf"), ("public.png", "image/png"),
|
var typesToLoad = [("com.adobe.pdf", "application/pdf"), ("public.png", "image/png"),
|
||||||
("public.jpeg", "image/jpeg"), ("com.compuserve.gif", "image/gif"),
|
("public.jpeg", "image/jpeg"), ("public.jpeg-2000", "image/jp2"),
|
||||||
("com.microsoft.bmp", "image/bmp"), ("public.plain-text", "text/plain")]
|
("com.compuserve.gif", "image/gif"), ("com.microsoft.bmp", "image/bmp"),
|
||||||
|
("public.plain-text", "text/plain")]
|
||||||
|
|
||||||
class ActionViewController: UIViewController, WKScriptMessageHandler {
|
class ActionViewController: UIViewController, WKScriptMessageHandler {
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue