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