2011-10-26 227 views

回答

1

我找到了解決辦法就在剛纔,只是改變的東西在- (void)beginEditing方法:

- (void)beginEditing { 
    _editing = YES; 
    _scrollView.delaysContentTouches = YES; 

    UIView* prompt = [self viewWithTag:kPromptTag]; 
    [prompt removeFromSuperview]; 

    for (NSArray* buttonPage in _buttons) { 
    for (TTLauncherButton* button in buttonPage) { 
     button.editing = YES; 
     button.closeButton.hidden = TRUE; 
    } 
    } 
0

當點擊一個圖標時,此bevaviour被切換。如果你不希望在晃動一切只是重寫以下方法:

- (void)buttonTouchedDown:(TTLauncherButton*)button withEvent:(UIEvent*)event { 
    /// Do something what should happen 
} 
+0

感謝您help.I有找到另一個。 –