2012-05-03 4 views
0

私はwhited00rデベロッパーです。iPhone 2g/3g WHITED00rユーザー向けに、通知システム(NS)を作成しました(NSCENTER)それは実際には微調整ではありません...モバイル基板を調整する方法(上からスライド)通知センター

私はあなたがトップからスライドすると微調整(アクチベータ)が表示されますが、これを行う方法はわかりません。誰かが助けてくれましたか?またはサンプル?またはテキストヘルプ?

+0

以下のリンクをご覧ください http://stackoverflow.com/questions/7224895/how-to-make-notification-center-widgets-ios-5 –

答えて

0

あなたが正しく理解しているとすれば、ノーティフィケーションセンターのスワイプジェスチャーアクションを置き換えて、あなたの微調整を提示します。そのような場合、SBBulletinListControllerは、あなたが探しているメソッドました:あなたが試みることができる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を使用して、それらをフックしてみます。私は自分自身でこれを試していないが、正しい方向にあなたを指す必要があります。

関連する問題