iPhone Force Download Files?

I am trying to allow the user to download a file.

When the file is downloaded it is displayed in the browser window instead of downloading it.

Does anyone know of a way to get the iPhone to download files instead of viewing them.

Also all the code that I have tried works great on Android Devices.

Thanks.

Answers


You can't. Apple have deliberately prevented things like this to protect their iOS from hacks and malware; you have no access (unless you are a developer, in which case its restricted) to the handsets integrated data storage.


Need Your Help

change browser href in combobox option

php html css sql google-chrome

I try to make a list of data from a table in a database. I do this with an select option, because the user is only allowed to choose one.

.net unit testing with generic abstract type parameter & chaining

c# unit-testing generics testing chaining

What would be the proper way to unit test an abstract class which takes generic type parameter where the type is also an abstract class? E.g)

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.