Disable or Hide Button in UIActionSheet


UIActionSheet *actionSheet = [[UIActionSheet alloc] initWithTitle:@"Share"
delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:nil
otherButtonTitles:@"Send Message (SMS)", @"Send E-Mail", @"Print", @"Twitter", nil];
    [actionSheet showInView:self.view];
    for(UIView *v in [actionSheet subviews])
    {
        if([[v description] hasPrefix: @"<UIThreePartButton"] )
        {
            if ([v respondsToSelector:@selector(title)])
            {
                NSString* title = [v performSelector:@selector(title)];
                if ([title isEqualToString:@"Twitter"])
                {
                    //v.hidden = YES;
                    ((UIButton*)v).enabled = NO;
                }
            }
        }
    }
    [actionSheet release];