iOS/Objective-C
Objective-C) present ViewController
Brad_Heo
2024. 7. 1. 10:43
completion: nil
#import "myViewController.h"
@property (nonatomic, retain) myViewController *myViewController;
...
_myViewController = [[myViewController alloc] init];
[self presentViewController: _myViewController animated:YES completion: nil];
completion: nil != nil
#import "myViewController.h"
@property (nonatomic, retain) myViewController *myViewController;
...
_myViewController = [[myViewController alloc] init];
[self presentViewController: _myViewController animated:YES completion: ^{
}];