ProMotion
ProMotion copied to clipboard
Style/customize UIRefreshControl?
Is there any way to customize the text, text color and font of the UIRefreshControl on a refreshable TableScreen?
Any chance there's a way to customize the color of the loading indicator itself?
Thanks!
Check out the documentation for refreshable here: https://github.com/clearsightstudio/ProMotion/blob/master/docs/Reference/API%20Reference%20-%20ProMotion%20TableScreen.md#refreshableoptions--
As far as customization of the color, I'd look into the UIAppearance class to do that.
Thanks! Looks like those cover setting the text and color of the loading indicator but not the actual attributes of the text since there's no way to pass them in, for example, here:
https://github.com/clearsightstudio/ProMotion/blob/171e3ad1faa3c5a23be7c7057582b4b5bfb32ba7/lib/ProMotion/table/extensions/refreshable.rb#L31
Looks like UIAppearance can set the UIRefreshControl attributedTitle but it doesn't seem to have titleTextAttributes like UINavigationBar.
Getting that from here: http://stackoverflow.com/questions/9424112/what-properties-can-i-set-via-an-uiappearance-proxy
Am I reading that right or missing something?
Thanks again!
@nickyhajal Did you get this figured out? Sorry about the slow responses, I missed this one.