앱스토어 앱 url

iOS/app(iOS) 2018. 12. 12. 16:33
반응형

https://itunes.apple.com/app/idxxxxxxxxxx?mt=8

반응형
블로그 이미지

앱스페이스

,
반응형

레이아웃 구성시

 

입력부분을 아렛쪽에 구성하였는데

 

키보드가 나타나면서 가릴때

 

init 또는 viewdidload 등에서

 

[[NSNotificationCenter defaultCenter] addObserver:self

                                                 selector:@selector(keyboardWasShown)

                                                     name:UIKeyboardWillShowNotification //키보드가 나타날 때

                                                   object:nil];

        [[NSNotificationCenter defaultCenter] addObserver:self

                                                 selector:@selector(keyboardWasDisappear)

                                                     name:UIKeyboardWillHideNotification //키보드가 사라질 때

                                                   object:nil];

 

추가

 

-(void)keyboardWasShown

{

    [UIView animateWithDuration:0.3f

                          delay:0.0f

                        options:UIViewAnimationCurveEaseIn

                     animations:^{

                         CGRect newframe = self.view.frame;

                         newframe.origin.y -=150;

                         [self.view setFrame:newframe];

                     }

                     completion:^(BOOL finished){

                     }];

}

-(void)keyboardWasDisappear

{

    [UIView animateWithDuration:0.2f

                          delay:0.0f

                        options:UIViewAnimationCurveEaseIn

                     animations:^{

                         CGRect newframe = self.view.frame;

                         newframe.origin.y +=150;

                         [self.view setFrame:newframe];

                     }

                     completion:^(BOOL finished){

                     }];

}

반응형

'iOS > objective-c' 카테고리의 다른 글

앱 내부 파일 정보 보기  (0) 2018.12.12
ios 날짜구하기  (0) 2018.12.12
푸쉬 인증서 변환(.p12 -> .pem)  (0) 2018.12.12
ios os version  (0) 2018.12.12
ios 앱 버전  (0) 2018.12.12
블로그 이미지

앱스페이스

,
반응형

1. cer, key 같이 추출한 p12 -> pem

 openssl pkcs12 -in file.p12  -out file.pem -nodes -clcerts



2. cer, key 따로 추출한 p12(cert.p12, key.p12) -> pem

2-1 cert.p12 -> cert.pem

 openssl pkcs12 –clcerts –nokeys –out cert.pem –in cert.p12


2-2 key.p12 -> key.pem

 openssl pkcs12 –nocerts –out key.pem –in key.p12


2-3 key.pem-> no encrypted key.pem

 openssl rsa –in key.pem –out key.unencrypted.pem


2-4 apns.pem

 cat cert.pem key.unencrypted.pem > apns.pem

반응형

'iOS > objective-c' 카테고리의 다른 글

앱 내부 파일 정보 보기  (0) 2018.12.12
ios 날짜구하기  (0) 2018.12.12
ios 키보드 처리  (0) 2018.12.12
ios os version  (0) 2018.12.12
ios 앱 버전  (0) 2018.12.12
블로그 이미지

앱스페이스

,