but when I run my application it displays a warning below these lines. But application works fine with enabling and diabling. Why is that? What went wrong in my App
UIView classes have the enabled property, as a subclass of UIView, UIToolbar should have the enabled property, But it is not documented. Then is it called an Undocumented API call. But documentation says UIToolBar is a sub class of UIView, then if I convert my IBOutlet from UIToolbar to id or UIView will it call an Undocumented API call, I am so confused, can somebody explain me about these undocumented concept.
I had five UIToolBar items, there fore i did it with this manner without warning. But I still wonder why Apple did not have enabled property documented, is there any reason?
@ tharindufit, you are mistaken. UIView does not have an enabled property. UIControl has an enabled property. And as I mentioned UIBarItem has an enabled property.
yep, I am sorry, it is also not documented, its with UIControll classes as you said. It means Apple did not want to give users the ability to enable disable UIViews, mm its fine for some extent, I just got it now, thanks guys
Can we guess any reasons why Apple not documented enabled property for views like UIToolbar, if we use any undocumented calls in our App will it reject at AppStore. Just to know