본문 바로가기

ios aos 개발

갱신법 Apple Push Services 인증서가 30일 후에 만료됨 https://developer.apple.com/account/resources/certificates/list 에 접속해서 만료되는 Apple Push Services Type 을 revoke 한다 맥에서 유틸리티 > '키체인 접근' 실행한다 메뉴에서 인증 기관에서 인증서 요청 선택한후 사용자 이메일 주소, 일반 이름, 디스크에 저장됨, 본인이 키 페어 정보 지정 을 입력 및 선택한다. 생성된 certSigningRequest 파일을 가지고 애플 개발자 센터에서 푸시 서비스 인증서 등록한다. 아래 사이트에 접속 > + 버튼 클릭 > Services의 'Apple Push Notification service SSL (Sandbox & Production)' 선택 그리고 Continue 클릭하여 다음페.. 더보기
xcode 배포 오류, 앱 업로드 오류 ITMS-90502 m1 mac pro 앱 배포시 UIRequiredDeviceCapabilites key in your Xcode porject...... 오류가 나면 info.plist 에서 armv7 이 있는지 확인해보자. 없으면 추가! 더보기
[iPhone] 아이폰,아이튠스(itunes) 도큐멘트 폴더 사용하는 방법 Info.plist 파일에 Application supports iTunes file sharing 추가하면 된단다... 인터넷에서 찾아본거라... 아직 사용해 보지는 않았음... 더보기
[iPhone] UIAlertView 자동종료 #pragma mark - alert창 선택시 불리는 함수 -(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{ if([alertView tag]==PHONE && buttonIndex == YES) { _phone = [_phone stringByAppendingString:@"\n\ncalling...."]; UIAlertView *alert = [[UIAlertView alloc ]initWithTitle:_phone message:@"waiting" .. 더보기
[iPhone] 빙글빙글 효과 만들기 & 알림창(UIAlertView) 사라지게 하기 //알람창 UIAlertView * alert = [[UIAlertView alloc] initWithTitle:@"홈페이지에서 정보 수집중" message:@"LOADING ..." delegate:self cancelButtonTitle:nil otherButtonTitles:nil]; [alert show];//화면에 출력 UIActivityIndicatorView *activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; [activityIndicator setCenter:CGPointMake(160, 240)]; [self.view.. 더보기
[iPhone] 동기식 다운로드 download NSURL *url = [NSURL URLWithString:/*파일 다운 받을 url 주소 */]; NSMutableURLRequest *thrRequest = [NSMutableURLRequest requestWithURL:url]; NSURLResponse *response; NSError *error; NSData *getedData = [NSURLConnection sendSynchronousRequest:thrRequest returningResponse:&response error:&error]; NSString*_path = [[NSHomeDirectory() stringByAppendingString:@"/Documents/"] stringByAppendingString:[response.. 더보기
[iPhone] Uivew 밀는 효과 ******controller.h //******************************************************// IBOutlet UIView *menuView; //******************************************************// ******controller.m //******************************************************// - (void)viewDidLoad { UIPanGestureRecognizer* drg = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(dragGesutreMethod:)];//내가 만든 함수 [me.. 더보기
[iPhone] 어플 실행시 navigation barbutton 만들기 Alpha_viewDelegate.m - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. UINavigationController *navi= [[UINavigationController alloc] initWithRootViewController:[[Alpha_viewViewController alloc]init]]; [self.window addSubview:navi.view]; //self.window.rootViewController = sel.. 더보기
[iPhone] UITableVIew 꼭 써야하는 함수 tableView:cellForRowAtIndexPath: Asks the data source for a cell to insert in a particular location of the table view. (required) - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath Parameters tableView A table-view object requesting the cell. indexPath An index path locating a row in tableView. Return Value An object inheriting from UITableView.. 더보기
[iPhone] UIAlertView 창 띄우기, 사라지게 하기 ***.h 해더 파일 /*뱅글뱅글 하게 돌아가게 하는것 */ IBOutlet UIActivityIndicatorView *activityIndicator; /*경고 창 에 띄우는 것*/ IBOutlet UIAlertView *alert; ****.m 소스 파일 //알람창 alert = [[UIAlertView alloc] initWithTitle:@"홈페이지에서 정보 수집중message:@"LOADING ..." delegate:self cancelButtonTitle:nil otherButtonTitles:nil]; [alert show]; //빙글뱅글 //빙글뱅글 activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicato.. 더보기

반응형