patch the ios safari download conditional judgment

Signed-off-by: Ace Han <ace.jl.han@gmail.com>