2016-05-19 24 views
1
使用IKImageBrowserView與設定的下降deleagte

draggingEntered:叫,但performDragOperation:不IKImageBrowserView

[self.imageBrowserView setDraggingDestinationDelegate:self]; 

不管我在draggingEntered返回

我':在performDragOperation:獲取從不叫

- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender { 
    // GETS CALLED 
    return NSDragOperationEvery; 
} 

- (BOOL)prepareForDragOperation:(id <NSDraggingInfo>)sender { 
    // NOT CALLED 
    return YES; 
} 

- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender { 
    // NOT CALLED 
    return YES; 
} 

回答

1

顯然draggingUpdated:必須實施。