tintcolor Questions

2

This might have been answered already but I can't seem to find the answer. iOS 13 introduces the new UIBarButton.SystemItem value of .close. I have played with the new proxy appearance APIs but n...
Vicissitude asked 7/11, 2019 at 20:24

9

Solved

How can we change the global tint color on iOS7/iOS8 by code? I want to change multiple objects that use this property, but not change each one, that's why I want to use the global tint property.
Vinny asked 23/9, 2013 at 13:20

3

Solved

I know that for elements of classes UIButton and UIBarButtonItem they automatically assume window.tintColor as the main colour, which results of an immediate change in case I set a new tintColor to...
Glassco asked 1/10, 2013 at 16:25

4

Solved

I have created the tabBarController programmatically and I want to change color of tint color of images (not the bar) that tab contains. Can anyone tell me how to do that in Swift?
Mysterious asked 1/5, 2015 at 14:9

3

So, I am supporting three themes in my app, each with different tintColors. I'm using @EnvironmetObject to track changes. However, I can't use it on SceneDelegate.swift file, because the app crashe...
Suborbital asked 24/2, 2020 at 2:18

14

Solved

I'm receiving image from a server, then based on a color chosen by the user, the image color will be changed. I tried the following : _sketchImageView.image = [_sketchImageView.image imageWithRen...
Vetter asked 10/2, 2015 at 9:18

4

Solved

When i use tintColor property it fills the whole image to the color i specified to the tintColor property. Is i am using it wrong or its job is the same what i get? Can anyone tell for what purpose...
Susceptible asked 3/12, 2018 at 14:41

8

Solved

I have a project using Storyboards and whenever I push a view controller with a segue, the dynamically created bar button item is always blue. It's driving me nuts. Because this object is create...
Wyatt asked 21/10, 2013 at 20:42

4

Solved

I have a UITableView which is comprised of static cells. In IB I've set each UITableViewCell's style to "Basic" and set an image (see screenshot). The buttons in my nav bar honor the tintColor prop...
Idioblast asked 15/9, 2014 at 13:20

12

Solved

I want my searchBar's tint color to be white (meaning the cancel button be white). The cursor is not visible when the tint color is white. Is there a way to set cursor color separately?
Thistly asked 29/7, 2014 at 4:34

1

Solved

I have a button that show a popover over fullscreen, the main view has a 6 custom views that have 5 button with a tint color in grey or blue, depending of some parameter. but when the popover appea...
Radbourne asked 10/1, 2019 at 23:52

6

Solved

In iOS 8, it seems that buttons on UIAlertController (specifically the action sheet type) as well as buttons on the UIActivityViewController get their color from the main window's tintColor. How c...
Sikorsky asked 11/9, 2014 at 18:54

5

I have recently noticed that the behaviour of the tintColor property has changed significantly in one of the recent iOS 10 updates. I had a code which was working perfectly previously and which now...
Demona asked 19/1, 2017 at 14:11

4

I am trying to animate a UIToolbar's tintColor property, to change it from one tintColor to another. Here is the code I am trying. Unfortunately, the change occurs immediately and does not fade f...
Siltstone asked 20/12, 2010 at 23:49

6

Is there a way I can get the global tint color from my project by code? To avoid a misunderstanding I mean the global tint color, which i can set in the File Inspector.
Chadbourne asked 2/10, 2013 at 12:52

9

Solved

I have my own subclass of UIButton. I add UIImageView on it and add an image. I would like to paint it over the image with a tint color but it doesn't work. So far I have: - (id)initWithFrame:(C...
Haversine asked 4/3, 2014 at 11:27

0

In iOS you can set a tintColor for the whole app like this: window.tintColor = UIColor.black In which window is the key UIWindow of the app. How can this be achieved in React Native, so that yo...
Isleen asked 2/12, 2017 at 15:49

2

Solved

I have multiple storyboards in my app and for one specific storyboard I wish to have a different color scheme. This may not be according to iOS 7 guidelines but nonetheless, I am wondering if there...
Warrant asked 13/10, 2013 at 1:28

3

I want to change the color of onTintColor in the UISwitch for the off State. The switch is in tableview and switch is made programmatically. [settingsSwitch setBackgroundColor:[UIColor whiteColor...
Haemostatic asked 2/9, 2014 at 6:11

4

Solved

How can I change the tintColor of an unselected UITabBarItem title and background image iOS 8? The default color for an unselected state is a light gray color, but it does not show on my darkish ...
Ending asked 24/10, 2014 at 15:44

3

Solved

I have to imagine this has been asked several times, but I must not be wording my question correctly. I have my own custom image I made in photoshop and it is set as a button's image property. Her...
Flagellant asked 2/1, 2014 at 20:41

3

Solved

iOS7 introduced general tint-color. I think UIAlertView is also in the valid range, but actually tintColor doesn't look to work with UIAlertView. (for tappable button text color) Is it possible to...
Cindy asked 5/10, 2013 at 2:34

1

Solved

I have a icon asset in interface builder which I have as my button image. I can change the colour of it using button.tintColor = UIColor.blueColor() Can I apply a gradient though to a tintColor...
Chalice asked 12/1, 2016 at 1:4

1

Solved

I'm setting the tint color of a window to an arbitrary color, then trying to over-ride this on a per-button basis, but it appears that the buttons revert to the window tint color whenever there is ...
Rabbi asked 3/9, 2015 at 18:41

1

Solved

I have what I assume is an odd iOS8 bug. Whenever I launch a UIAlertControllerI find that it is changing all of the tint colors of my UIImageViews that use the UIImageRenderingModeAlwaysTemplate im...
Malamud asked 27/7, 2015 at 19:27

© 2022 - 2025 — McMap. All rights reserved.