Does Apple review allows the below coding i.e adding a textView or label as a "accessoryView" .. I read in many places that its not a public exposed api and we should not do this way.. but few says we can... will it get rejected while we send for review. Please guide me...
UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 100, 200)];
textView.selectable = YES;
textView.editable = NO;
textView.attributedText = attributedStr;
UIAlertView *customAlert = [[UIAlertView alloc] initWithTitle:@"Title" message:nil delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:nil, nil];
[customAlert setValue:textView forKey:@"accessoryView"];