Questions tagged uibutton

Explore the latest questions and answers asked by our top developers.

UIbutton doesn’t respond to touch events

My view hierarchy is something like this: UIView -> UIStackView -> UIView -> PlayerView -> UIView -> UIStackView UITextField (title) UIButton (close) UIButton (settings) etc… My problem is following…When screen loads, if I click on the close or settings buttons it WORKS. The problem is if I click first to the Player View to play […]

By learningswift
Categorised as ios, uibutton Tagged ,

What is the standard Apple blue colour?

Here’s an extract from … // // UIColor.h // UIKit // // Copyright (c) 2005-2013, Apple Inc. All rights reserved. // …….. // Some convenience methods to create colours. // These colors will be as calibrated as possible. // These colors are cached. + (UIColor *)blackColor; // 0.0 white + (UIColor *)darkGrayColor; // 0.333 white […]

By Fattie
Categorised as ios, uibutton, uicolor Tagged , ,

Setting custom font on all UIButtons

I want to apply a custom font to all buttons in my iOS app i’ve created in Xamarin. I’ve achieved the custom font on labels with the previous code: //Labels UILabel.Appearance.Font = UIFont.FromName(“Lato-Light”,16f); …which affects some but not all buttons for some reason. Then I tried targeting the label on the button like so: var […]

By cheriana
Categorised as Uncategorised Tagged , , ,

Color Tint UIButton Image

I noticed that when I place a white or black UIImage into a UISegmentedControl it automatically color masks it to match the tint of the segmented control. I thought this was really cool, and was wondering if I could do this elsewhere as well. For example, I have a bunch of buttons that have a […]

By Logan Shire
Categorised as ios, ios7, iphone, uibutton, uisegmentedcontrol Tagged , , , ,

Button in UITableViewCell not responding under ios 7

I have one tableview and each cell contains one button. It’s working pretty well all iOS versions but 7. I don’t know what’s going on. The cell is constructed in one xib file. Could anyone give me some suggestions? Thanks in advance. Source: Ios7 Questions

By Xavier
Categorised as ios, ios7, uibutton, uitableview Tagged , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us