Displaying modal view in Objective-C
- by kpower
I'm trying to display Modal View in my app.
I have subclass of UIViewController that has only the "Done" button (UIButton created with IB and linked with XCode).
.h
@interface myModalVC : UIViewController {
UIButton *bDone;
}
@property (nonatomic, retain) IBOutlet UIButton *bDone;
- (IBAction)bDoneTouchDown:(id)sender;
@end
.m
#import…