I am trying to change the UIActivityIndicatorView style of the framework, but I cannot reach this indicator, tell me how can I change its style? Classes in the framework itself do not want to change, maybe through categories somehow: I tried to override the method in the category, but this did not end with success. The framework is called KIImagePager, you need to change the indicator in the loadData method (you can see this method at the link - https://github.com/kimar/KIImagePager/blob/master/KIImagePager/KIImagePager/KIImagePager.m ) Thanks in advance!
- oneWell, if the category / subclass is not suitable, then you can change the desired method to your own in runtime using the method swizzling. Here is the tutorial nshipster.com/method-swizzling - Max Mikheyenko
|