macOS/iOS API解説

iOS , Mac アプリケーション開発のために使われる主要フレームワークの日本語情報です。2010年代に書かれた内容です。今後更新はありません。

目次

applicationWillHide:

アプリケーションが隠れようとする直前に呼び出されます
-(void)applicationWillHide:(NSNotification *)aNotification:

解説

アプリケーションが隠れようとする直前に呼び出されます。
通知(aNotification)は常にNSApplicationWillHideNotificationです。

返り値

( void )

なし

引数

( NSNotification * )aNotification

通知

フレームワーク

ApplicationKit

クラス

NSApplication

Instance Methods

使用可能

10.0

参照

- applicationDidHide:
- hide:

例文

#import "AppDelegate.h"

@implementation AppDelegate
- (void)applicationWillHide:(NSNotification *)aNotification
{
	[info setStringValue:@"applicationWillHide"];
	NSLog(@"applicationWillHide");
}
@end