문제

I am testing three different browsers, chrome, firefox and safari.

if (window.File && window.FileReader && window.FileList && window.Blob)
{
       //check whether browser fully supports all File API 
}

It returns true for chrome and firefox.. but it does not return true for safari.

Does safari support File API?

도움이 되었습니까?

해결책

According to caniuse.com, yes it supports, but be careful about previous versions.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top