반응형
어플 버전을 찍어주기 위해서.
http://onlyu.blog.me/60122844710
난 이렇게 썼다오...
http://onlyu.blog.me/60122844710
난 이렇게 썼다오...
labelVersion = [[UILabel alloc]init];
labelVersion.frame = CGRectMake(0.0f, 160.0f, 320.0f, 20.0f);
NSString *strVer = [NSString stringWithFormat:@"버전정보 %@", [[[NSBundle mainBundle]infoDictionary]objectForKey:@"CFBundleVersion"]];
[labelVersion setText:strVer];
[labelVersion setFont:[UIFont systemFontOfSize:12]];
반응형