Refresh Controller

To get the refresh controller configured:

In ViewDidLoad(), declare the UIRefreshControll and set its target to a new function. In that function, do your business, and then remember to endRefreshing().

This slideshow requires JavaScript.

Easy.

Note: The if statement that follows the refreshControll declaration is simply checking for iOS version in order to determine which kind of refresh controller is needed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s