iphone - i want to trigger a nib file when someone touch on an image -


I'm new to iPhone development .... I'm working on the game in which the user touches on one The image should then pop up a nib file on the screen, I am unable to generate that event, please help me to add a new file to the tibb event, as if the file pops onto the screen. So please give some sample code or any kind help

thanks At least

I think you touched anyone want to load a xib when image.

U

You can try to insert an image on the button. B1 = [[UIButton alloc] initWithFrame: CGRectMake (0, 0, 320, 85)];
[B1 setbackground image: [UIImage imageNamed: @ "image.jpg"] forState: UIControlStateNormal]; [B1Editigraj: Action by itself: @Selector (button pressed 1) for control events: UICintrol Avent Touchup Inside]

[ADUVU: B1]; [B1 release];


Press the PRESS button on the Load button.


Comments