Tutorial details

UIViews | App Code for Sale | Preview

UIViews | iOS Tutorial

How to use uiviews

Overview PAGE TOP

Reference: http://www.geekylemon.com/WEBPROTECT-xcodeuiviews.htm

In this tutorial i will be showing you how to use uiviews


  • 4 Buttons

Using UIViews in your apps can help display information or extra content to the user if you are unable to display it on the current view also a alternative way of switching views

ViewController.h PAGE TOP

@interface ViewController :UIViewController {
IBOutlet UIView *view1;
IBOutlet UIView *view2;

ViewController.m PAGE TOP

@implementation ViewController
-(IBAction)DisplayView1 {
view1.hidden = NO;
-(IBAction)HideView1 {
view1.hidden = YES;
-(IBAction)DisplayView2 {
view2.hidden = NO;
-(IBAction)HideView2 {
view2.hidden = YES;

Reference PAGE TOP


0 Comments Leave a comment

Please login in order to leave a comment.

Newest first

to your Chupamobile Account.

The Easiest way to Launch your next App or Game.

Join Chupamobile and get instant access to thousands of ready made App and Game Templates.

Creating an account means you’re okay with Chupamobile’s Terms of Service and Privacy Policy.