Skip to content

An objective-c view for iOS that puts a header and/or footer view on a UIWebView (like Mail.app and Safari)

Notifications You must be signed in to change notification settings

joelsand/UIWebView-with-Header-and-Footer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

The purpose of this project was to create a user interface that mimics the 
native iOS mail application when viewing a message and Safari where
the header and footer views scroll vertically with the body, but not horizontally
and not zoom.  

This effect was achieved by:

1) Finding the UIScrollView inside a UIWebView by using the scrollView property
2) Placing the header and footer controls inside the UIScrollView
3) Tracking the UIScrollView's delegate events and moving the header and
   footer as needed.
   
Compatible with iOS 5.0+

About

An objective-c view for iOS that puts a header and/or footer view on a UIWebView (like Mail.app and Safari)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%