入住的開發文檔,你會得到這樣的 -
1-它已被棄用currently-
// Frame is ignored. The size will be specified by the table view width and row height.
- (id)initWithFrame:(CGRect)frame reuseIdentifier:(NSString *)reuseIdentifier __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_NA,__MAC_NA,__IPHONE_2_0,__IPHONE_3_0);
2 - 它很快就會過時。
// Display another view controller as a modal child. Uses a vertical sheet transition if animated.This method has been replaced by presentViewController:animated:completion: // It will be DEPRECATED, plan accordingly.
- (void)presentModalViewController:(UIViewController *)modalViewController animated:(BOOL)animated;
希望它可以清除你爲什麼在第一次收到警告,而不是在第二位。
好的,謝謝,我只是在在線文檔中檢查(它只會告訴「棄用」),但不在.h中:-) – LombaX