로딩
티스토리 데이터 처리 중입니다.

[IOS] 앱스토어 버전 체크 팝업 만들기

 [IOS] 앱스토어 버전 체크 팝업 만들기

고객사에서 신규 업데이트가 있을 경우 앱 실행시 팝업창을 출력해달라고해서 만들어보았다. -(void)verCheck{ NSDictionary *bundleInfo = [[NSBundle mainBundle] infoDictionary]; NSString *bundleIdentifier = [bundleInfo valueForKey:@"CFBundleIdentifier"]; NSURL *lookupURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/lookup?

bundleId=%@", bundleIdentifier]]; NSData *lookupResults = [NSData dataWithContentsOfURL:.....