2012-08-14 4 views
0

IVe는 텍스트 상자 나 레이블을 클릭 할 때 uipicker가로드 될 때 몇 가지 사과 응용 프로그램에 나타났습니다. 그런 다음 선택하면 사라집니다. 나는 그것을 본질적으로 재현하려고 노력하고있다. 그러나 조금 어려움이 있습니다. 누군가가 그러한 자습서에 대한 링크를 가지고 있는지 또는 내가 어떻게 다시 만들 수 있는지에 대한 아이디어를 제공 할 수 있는지 궁금합니다. uipicker에서 콤보 상자 만들기

는이 바닥 나에/페이드 아웃에서 팝업 할 수

[UIView animateWithDuration:duration animation:^{ 
     //custom animation you need. For example show from the bottom. Of course, you need to set the origin frame of picker to somewhere under the screen. 
     myPicker.frame = CGRectMake(0, self.view.bounds.height.y - myPicker.frame.size.height, myPicker.frame.size.width, myPicker.frame.size.height); 
}]; 

와 함께 원하는대로 당신이 애니메이션의 모든 종류의 작업을 수행 할 수 있습니다, 당신은

+0

질문에 대한 답변이 여기에 있습니다. http://stackoverflow.com/questions/6699392/popup-uipicker-when-tapping-on-uitextfield – iNeal

답변

0

피커 그냥 UIView 감사합니다. 아무것도. 그런 다음 반대쪽 애니메이션을 사용하여이를 닫을 수 있습니다.