SHARE
TWEET

iphone navigation & saving data to plist

a guest Feb 22nd, 2012 15 Never
  1. ////button code
  2.  
  3. button = [[UIButton buttonWithType:UIButtonTypeRoundedRect] retain];
  4.    button.frame = CGRectMake(10, 150, 300, 50);
  5.    [button setTitle:@"Login" forState:UIControlStateNormal];
  6.    button.backgroundColor = [UIColor clearColor];
  7.    [button addTarget:self action:@selector(myaction:)  forControlEvents:UIControlEventTouchUpInside];
  8.           button.adjustsImageWhenHighlighted = YES;
  9.    [mainView addSubview:button];
  10.    [button release];
RAW Paste Data
Top