Prerequisites

Developer Audience
This document is for IOS developers who want to use Foxit PDF SDK to develop PDF applicaitons based on IOS.
It assumes that developers are familiar with C/C++ and Objective-c.

Environments:
Platforms:					x86, arm
Operating System:		IOS
Compilers:		 			Xcode 3 and later

Demo:
Foxit PDF SDK provides this demo to show applicaitons developers some basic functionality on how to display, operate pages 
and perform OOM handling. The shown functionality in this demo is only one small part the functionality that 
Foxit PDF SDK supports. It doesn't cover everything provided in Foxit PDF SDK. It wants to tell developers how to use Foxit
PDF SDK to develop their PDF applications on IOS by showing these demos here. If more demos are needed, please contact Foxit for help. 

Setting up and Running this Demo Project:
1) Download and install Xcode.
2) Download Foxit PDF SDK Package.
3) Extract files from the foxitpdfsdk_4_0_ios.zip to any directory.
4) Set an active scheme and run the App in IPhone Simulator as default.	
5) Build and run this demo.

How to interact with the demo
1) Click the button "Open PDF" on the left bar and choose a pdf file. Can do the same operations to choose other pdf files.
2) Click the button "Set SDK memory size" on the right bar to set Foxit PDF SDK memory size. The memory unit is MB and the minimum is 8 MB.
   The current pdf doc will be reloaded after the button of 'OK' is clicked. You can also set the memory size before opening a pdf file. 
   If the memory size is not enough, OOM will happen and then a recovery operation may be triggered and handled automatically.
3) The other operations. Click either side of the view to turn pages. Double click to zoom. Can drag the current page when its status is 'zoom in'.
