What is a private API in an iPhone app?

I am new to Objective-C and confused by the fact that it falls under the “non-standard” API, which may cause Apple to reject my application. Does this include adding methods to existing classes? For example, I found some code in stackoverflow to recolor the tab bar icons for UITabBars with this extension into the UITabBarItem class. Is this considered a "private API"? If not, what does?

@interface UITabBar (ColorExtensions)
- (void)recolorItemsWithImage:(UIImage *)image shadowColor:(UIColor *)shadowColor shadowOffset:(CGSize)shadowOffset shadowBlur:(CGFloat)shadowBlur;
@end
+3
source share
2 answers

, , Objective-C category, UITabBar . . , .

, . , Apple , UIWebView. .

, Framework , "" . , , .

+2

, , , "". API- API- Apple, . , . ( , , API.)

+4

Source: https://habr.com/ru/post/1744561/


All Articles