2012-05-03 2 views
0

저는 whited00r 개발자이며 iPhone 2g/3g WHITED00r 사용자에게 알림 시스템 (NS)을 이미 만들었습니다 (NSCENTER) 하지만 그것은 정말로 비틀 거릴 때가 아닙니다. ...모바일 기판을 조정하는 방법 (상단에서 슬라이드) 알림 센터

저는 모바일 기판을 조정하려고합니다. 위로부터 미끄러 져 움직이면 (조정기) 조정할 수는 있지만 어떻게해야할지 모르겠군요. 누군가 도울 수 있을까요? 또는 샘플? 또는 텍스트 도움?

+0

다음 링크를보세요. http://stackoverflow.com/questions/7224895/how-to-make-notification-center-widgets-ios-5 –

답변

0

정확하게 이해한다고 가정하면 기본적으로 알림 센터 스 와이프 제스처 동작을 바꿔 보면서 조정할 수 있습니다. 맞습니까? 당신이 시도 할 수 Springboard에서

-(void)handleShowNotificationsGestureBeganWithTouchLocation:(CGPoint)touchLocation; 
-(void)handleShowNotificationsGestureChangedWithTouchLocation:(CGPoint)touchLocation velocity:(CGPoint)velocity; 
-(void)handleShowNotificationsGestureEndedWithVelocity:(CGPoint)velocity completion:(id)completion; 
-(void)handleShowNotificationsGestureCanceled; 

도에 대응하는 방법 :

-(void)handleShowNotificationsSystemGesture:(id)gesture; 
-(void)handleHideNotificationsSystemGesture:(id)gesture; 
-(void)_showNotificationsGestureBeganWithLocation:(CGPoint)location; 
-(void)_showNotificationsGestureChangedWithLocation:(CGPoint)location velocity:(CGPoint)velocity; 
-(void)_showNotificationsGestureEndedWithLocation:(CGPoint)location velocity:(CGPoint)velocity; 
-(void)_showNotificationsGestureFailed; 
-(void)_showNotificationsGestureCancelled; 
-(void)_hideNotificationsGestureBegan:(float)began; 
-(void)_hideNotificationsGestureChanged:(float)changed; 
-(void)_hideNotificationsGestureEndedWithCompletionType:(int)completionType velocity:(CGPoint)velocity; 
-(void)_hideNotificationsGestureCancelled; 

그 사용 MobileSubstrate를 후킹 해보십시오 그런 경우, SBBulletinListController 당신이 찾고있는 방법이있다. 나는 이것을 직접 시도하지 않았지만, 올바른 방향으로 당신을 가리켜 야합니다.