UIResponse – let you view/viewcontroller/cell could become firstrespond show keyboard -UIKeyInput

#pragma mark - Respond to touch and become first responder.
- (BOOL)canBecomeFirstResponder
{
    returnYES;
}
- (BOOL)becomeFirstResponder
{
    return [_textView becomeFirstResponder];
}
#pragma mark - UIKeyInput protocol conformance
- (BOOL)hasText
{
returnNO;
}
- (void)insertText:(NSString *)text {}

- (void)deleteBackward
{
    NSString *person = _selectedButton.titleLabel.text;
[selfremovePersonFromGroup:person];
}

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s