How to open a new view when touching on a uiview?


How to open a new view when touching on a uiview?



i have a scrollview with uiview added as subview..now how do i open a new view when i touch on the view???? i want a new view to appear...before this i have buttons on my view...so button have the method "addtarget perform selector"...from that i am loading a new view here is an image of my view

alt text


Photo Library view stays on screen after choosing an image with UIImagePickerController

1:

iPhone Uploading unique images to a server running PHP / MYSQL
For case try following code (add it to your view):. iPhone app crashes from Finder
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event  {     UITouch *touch = [touches anyObject];     NSUInteger tapCount = [touch tapCount];     CGPoint location = [touch locationInView:self.view];      switch (tapCount)     {          case 1:          {               UIView *view = [[UIView alloc] initWithFrame: CGRectMake(0.0f, 0.0f, 320.0f, 480.0f)];               view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;               view.backgroundColor = [UIColor whiteColor];                [self.view addSubview:view];               [view release];          }          break;     } } 
Can I develop iPhone applications using C#.NET on Vista?

56 out of 100 based on 71 user ratings 866 reviews