[objective-c]使用言語を調べる
使用言語を調べる
NSString*lang=[self getCurrentLanguage]; -(NSString*)getCurrentLanguage { NSArray *languages = [NSLocale preferredLanguages]; return [languages objectAtIndex:0]; }
使用言語を調べる
NSString*lang=[self getCurrentLanguage]; -(NSString*)getCurrentLanguage { NSArray *languages = [NSLocale preferredLanguages]; return [languages objectAtIndex:0]; }