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

jacksongan

macrumors member
Original poster
Aug 31, 2009
47
0
this is my code:


Code:
-(void)willPresentAlertView:(UIAlertView *)alert { alert.frame = CGRectMake( 5, 10, 100, 100 ); }

- (void)tableView:(UITableView *)tableView 
didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
	
	UIAlertView *alert = [[UIAlertView alloc] initWithTitle: nil				 
						message:@"If you're trying to drill down, touch that instead"
delegate:nil 
cancelButtonTitle:@"ok"
otherButtonTitles:nil];
	[alert show];
[alert release];
}

In addition to that, i try to insert an image into the code, but as i cant resize the alert view, the image is always bigger than the alert view itself.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.