I cannot write your application for you, because it is a large project.
However, you might think about making your own login UIView as a child view of a UIViewController, which contains form elements:
- This view controller is the root view controller in a
UINavigationController stack.
- The user enters her credentials into this form.
- On clicking Submit, you push another
UIViewController on to the navigation stack that contains a UIView child, that itself has a UIProgressIndicatorView and a UIWebView as children views.
- The progress indicator view does its spinning wheel thing while the web page loads with the user's credentials entered in step 2.
- Once the web page finishes loading, it fires its delegate method telling you loading has finished. This delegate method tells the progress indicator view to stop spinning and hide.
I would recommend reading up on UINavigationController through Google and Apple's ample documentation and sample projects. One sample project template is included in Xcode, as well.