Picup iOS App

Overview

Upload Files with Web Forms

Picup is an iOS Application that facilitates file uploads in mobile web browsers. Since file-upload form fields don't work in Mobile Safari, a webapp can instruct Picup to choose and upload a file. Once the upload is complete, Picup returns control to the webapp with information about the upload.

Picup is able to upload any file type from your Camera, Photo Library and Dropbox. Both iPhone and iPad are supported.

Available now in the AppStore

Video Demo

Start Video

How Does it Work?

Picup works by handling the custom URL scheme fileupload2://. The Picup JavaScript helper is used to replace the file input fields with custom URLs if the visitor is using iOS. When the visitor clicks the link, Picup is launched prompting them to choose a file. An example of this can be seen in the Scratchpad Demo.

Offline Usage

Native applications and cached webapps can take advantage of Picup when the device is offline. Uploads are stored in a queue and the user can re-initiate the request if the initial attempt failed. If an upload fails, Picup will still return data about the request which can include the status, a thumbnail image, and a local URL. Photos can be viewed locally by opening the local URL.

Configurable

Picup is highly configurable through a set of parameters. Developers can choose the remote server, file size, callback behavior and more. Checkout the Scratchpad Demo for a list of the parameters and how to use them.

Tools

Scratchpad Demo

Try the Scratchpad to test the app with various configurations.

JavaScript Helper

The Picup JavaScript helper can override file-input fields to initiate a file upload. See the JavaScript comments for example usage.

Design Patterns & Best Practices

Check out the Design Patterns & Best Practices page for tips on integrating Picup into your application.