Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mistermoe

macrumors newbie
Original poster
Feb 7, 2011
1
0
Greetings guys,

i am a newbie in iphone programming

basically my problem is the following:

i have a view which have inside an info button and a UIScrollview and inside this scrollview i have programatically added buttons with images


When i press the info button the next view shows up, however when i press a button from scrollview nothing happens knowing that it is catching the click and it is accessing the function that is responsible for showing the next view


Code:
- (void)showFlip:(id)sender{
	
	FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil];
	controller.delegate = self;
	NSlog(@"1"); // IT IS SHOWING WHEN I PRESS A BUTTON FROM UISCRoll
	controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
	[self presentModalViewController:controller animated:YES];
	
	[controller release];
}

please help :(
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.