Go to android/app/src/main/res/values/styles.xml and add the following lines to the custom section: #FF0000 This will affect both the color of the text cursor and the text selection highlight.
Change cursor color ios code#
Set any of these options: Shake mouse pointer to locate: Make the pointer larger when you quickly move your finger on the trackpad or quickly move the mouse. With iOS 7 you can simply change tintColor property of the UITextField. Adding the below code between self.window UIWindow alloc initWithFrame:UIScreen mainScreen.bounds and self.window makeKeyAndVisible, you can change the global tint color.
Therefore, the right way to change the cursor color is by editing the native settings instead. On your Mac, choose Apple menu > System Preferences, then click Accessibility. Add the following code into custom renderer for iOS If your goal is to customize only iOS Entry Cursor you can do it much easier by adding ios:Entry.CursorColorM圜olor in XAML or entry.On