1
我期待设置的应用程序的语言,而不是从iphone设置的应用程序,我浏览的评论说,苹果可能不接受该应用程序,如果我这样做..有人可以证实这一点!ios设置AppleLanguages并提交到应用程序商店
int main(int argc, char *argv[])
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:[NSArray arrayWithObject:@"en-US"] forKey:@"AppleLanguages"];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}