长按阴影的React-Native开关颜色

时间:2018-10-23 06:24:46

标签: react-native

我正在开发react-native版本0.57的应用程序。我使用Switch作为切换按钮。我使用了它的道具进行自定义, 但是 ,长按阴影的颜色是绿色,我不知道该如何更改。

enter image description here

长按Switch键时,出现的阴影为绿色,如何更改其颜色?

1 个答案:

答案 0 :(得分:0)

您可以像这样使用它

My Endpoint Code:

 1. REST call to get the userApps()
 2. iterate over userAPPs
    2.1 make REST call to get the appDetails
    2.2 make use of above response to call the 3rd REST call which returns list.
    2.3 iterate over the above list and filter out the required fields and put it in main response object.
 3.return response