Prerequisites

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, 
select text, add annotations and so on. 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 this demo
1) Click the button "Open PDF" on the left bar and choose a pdf file. Repeat the actions to choose other pdf files.
2) Click on the right side of the view to move on the next page, or click on the left side of the view to move back to the previous page.
3) Double click on the view to zoom in and do it again to zoom out.
4) Drag the current page when it's the status of 'zoom in'.
5) Click "Menu" on the navigation menu to select a pdf function.
6) Choose "Text Search" cell and the 'search' bar will launch. You can input and search texts on the current page.
7) Choose "Text Select" cell, touch on texts and drag to select them.
8) Choose "Textlink" cell. Touch on some text which is a URL format, a tip will show.
9) Choose "PSI" cell. You can write sometings on the current page with a finger on the current page to make pressure sensitive ink.
10) Choose "Highlight Annot" cell and select text. The selection will be a highlight annotation after the operation of touching ends.
11) "Underline Annot" cell is similar as step 10.
12) Choose the "Link Annot" cell and select any rectangles on the current page. A link annotation will be added after the selection finished.
    A tip will show when the annotation is touched.
13) Choose "Text Annot" cell, a text anntation(namely note) will be added once the touching operation finishes.
14) "Freetext Annot" cell is similar as step 13.
15) Choose "Bookmark" cell, whole bookmarks of the pdf will show. Click one bookmark
    and it leads to goto the specific page when there is an action existing in this bookmark.
16) Choose "None" cell to cancel any operations above.

PS: Only one kind of pdf operations can be chosen to perform at one time.

