I am want to add UILabel inside UIAlertView in IOS7. My Code is working fine in iOS7 less versions.
            Asked
            
        
        
            Active
            
        
            Viewed 2,174 times
        
    -2
            
            
        - 
                    Did you even try to search? There is more than 10 answers declaring that there is no more addSubView in UIAlertView in iOS7. – Tarek Hallak Oct 10 '13 at 06:39
 - 
                    3possible duplicate of [UIAlertView addSubview in iOS7](http://stackoverflow.com/questions/18729220/uialertview-addsubview-in-ios7) – Toseef Khilji Oct 10 '13 at 06:41
 - 
                    I try to search, But there is a little confusion i.e. there is a way to add UITextField into UIAlertView in iOS. So, due to this i wanna get confirmation. Because i have to add UILabel into UIAlertView. – Harish Kumar Oct 10 '13 at 10:39
 
2 Answers
0
            
            
        In iOS 7 you can use
[alertView setValue:customContentView forKey:@"accessoryView"];
Full explanation is here