Reputation: 149
I wish to change the text and colour of the done link on the cordova inapp browser. My project is built with ionic and cordova and I made changes in the /plugins/org.apache.cordova.inappbrowser/src/ios/CDVInAppBrowser.m file but nothing happened.
What am I doing wrong?
Upvotes: 0
Views: 590
Reputation: 504
If anyone is still looking for an answer to this. I was able to change the color.
In your CDVInAppBrowser.m
file, you can edit following line:
self.closeButton.tintColor = [UIColor colorWithRed:241.0 / 255.0 green:136.0 / 255.0 blue:0.0 / 250.0 alpha:1];
If you also want to change the color of the next/previous arrow add following lines:
self.backButton.tintColor = [UIColor whiteColor];
self.forwardButton.tintColor = [UIColor whiteColor];
Resulting in this layout
Upvotes: 1