0
votes
1answer
8 views

Looking for an alternative to touchesMoved to detect any touch event within a defined area?

I have a virtual keyboard in my app with 6 keys, and the whole thing is just an image implemented with UIImageView. I determined the exact x and y coordinates that correspond to the image of each ...
0
votes
0answers
7 views

Odd numbered calls to touchesBegan:withEvent: only

Background I have a subclass of UIButton called TestButton in which touchesBegan:withEvent: and touchesEnded:withEvent: are overridden to log the number of taps on the button. Code below. Problem ...
1
vote
0answers
14 views

How to change default UIButton padding when using auto-layout

When using auto-layout in iOS 6, a UIButton's intrinsic content size appears to include about 10px of padding around the button text. Is there any way to control this padding value? For example, I'd ...
0
votes
1answer
30 views

Custom font not showing diaeresis in capital letters

I have a subclass of UIButton that uses a custom font. The problem is that capital letters don't show diaeresis. Below there are images of the same button sample with and without the custom font. I ...
0
votes
0answers
40 views

Uibuttons keep freezing when clicked

Im trying to gather the information on how many time the button is clicked and it freezes when clicked. This is just after an animation has occurred. - (IBAction)btnGreen:(id)sender { ...
-1
votes
1answer
14 views

Layout of UIBUTTON on IOS

I am creating an application for Ipad. I have trouble aligning UIBUTTONS properly. the button are always out of ipad screen. sample image with problem >> http://i.imgur.com/ypVybOM.png sample code ...
0
votes
2answers
53 views

UILabel doesn't dim with button

I have a programmatically generated UIButton with a label property and a background image. When tapped the background image becomes grey but the text does not. How do I make the label also indicate ...
0
votes
2answers
29 views

Add an image inside UIButton as an accesory

I have the following UIButton I want to add an Image inside to the far right. Like an accessoryView I am already using backgroundImage and I want to avoid combining the 2 images into 1. Is it ...
-2
votes
0answers
28 views

Button is not clicking in landscape mode [closed]

I have one button with background image on view. I am setting frame for view as well as for button in .xib. That button is clicking in portrait mode but not in landscape. Using iOS 6. Could anyone ...
-2
votes
0answers
20 views

Setting custom UIButton gradient background and drop shadow in iOS [closed]

I've created a gradient image with 1 pixel of width to set as a background for a UIButton, as it seems to be the recommendation in iOS HIG section "Tips for Creating Resizable Images" (iOS Human ...
0
votes
2answers
59 views

iOS - Casting UIView to UIButton/other views

I will be creating UIButton and other views programmatically. The buttons will be created inside custom class call ButtonBuilder. This builder class will be the subclass of BaseBuilder class. The ...
0
votes
2answers
45 views

UIButton image not changing

I have 4 UIButtons that I want to flash a lighter colour image for one second in a random sequence. So obviously I want to change the buttons images programatically. As you can see in the XCode ...
0
votes
2answers
31 views

UIButton Image size

I have 2 UIButtons. I set the background images to 2 different pngs. The pngs have different width. I looks like this: The button size is set to the images.size.width and height. I would like ...
1
vote
0answers
28 views

iOS: Color-changing circle button

I'm trying to make a button that will show/hide a color-selection slider. That's the easy part. What I am not sure how to do is to make the button be a circle with an outline (say black) and the fill ...
1
vote
5answers
90 views

calling the ibaction methode programatically is not changing the background of the button?

I had an application in which i am adding some dynamic number of buttons to a scrollview. I had set a normal background and selected background for the UIButton. For some reasons i need to call the ...

1 2 3 4 5 118
15 30 50 per page