Number Pad done button disappearing - iphone

When I set done button on Number pad keyboard it is working before ios 7 but not working in the ios 7 and later.
It is disappearing for double tap /copy/paste etc events on uitextfiled.
Any help?

Related

Custom keyboard zoomed for apps not optimized for iphone 6 & 6+

I am building a custom keyboard and I find for apps not optimised for iPhone 6 and 6plus the keyboard is zoomed and looks weird. I am building the keyboard using Interface builder with fixed sizes, meaning I dont want it to be zoomed.
How can I detect if the view for the keyboard is optimised for iPhone 6 and 6plus?
Thanks in advance.

iOS 7 SDK view from bottom like maps app

Could anybody please inform me which type of view is shown in the iOS 7 maps app when you touch the small info button in the right bottom corner? It only covers half the screen and I want to reuse it, but have no clue what to search for.
Thanks
That appears to be a UIActionSheet.

No button events in iphone 5 simulator

When I test my app running in the iPhone 6 simulator everything works as expected. If I however test it in the iPhone 5 or iPhone 5.1 simulators, I can't seem to get button events fired. Im using Xcode 4.5.2, not using storyboards and I have made tests with simple buttons with actions like:
- (IBAction)test:(id)sender {
NSLog(#"YEES");
}
And the actions is connected using drag and drop in the interface builder. I just can't seem to get it fired.. Do you have any idea about what could be the problem?
Update Jan 18:
If I do a "normal" click on a button in the iPhone 5/5.1 simulator nothing happens. If I do a bit "slow" click on a button the button will be "pressed"/selected. If I do a "really slow" click, like holding the button down for 3 seconds I get the button click event! How is this possible??
I found a solution for my case - i added UITapGestureRecognizer to the container UIView, and it intercepts events before UIButtons, and need some time to fail before buttons can handle tap... But it strange that in iOS 6 all works fine
To avoid this we can simply call:
[tapRecognizer setCancelsTouchesInView:NO];
I really suspect this could be the issue of view overlapping.
Please color your views that you are using on the view controllers and check whether any of your view is overlapping your button or not
I had a similar issue with an iPhone 5s simulator. Through trial and error I realized that the button's height in the simulator was 0 or otherwise a small number... The first clue to that was that when I changed its background color - the background did not show in the simulator (on larger simulators, like 6 or 6 plus, it showed as a thin line instead of full height). Then when I added a height constraint, it started accepting click events. That helped me identify the issue, but it was not the solution I was looking for. Initially I laid the button out without size constraints, so it's actual size should have been determined by it's intrinsic size. So instead of the height constraint, I changed the vertical compression resistance of the button to "required". That fixed the issue.

Placeholder for textfield problem in ios 4.2

I have a UITextField in a table custom cell.I had set TextField text alignment to UITextAlignmentCenter.I have also added placehoder text to this textField & made this textField firstResponder .Now , what happens is in ios 3.0 & 4.0 , it works perfectlty (cursor blinks in the center & text entered is also in the center)
But in ios 4.2.1, cursor blinks in the left, while the text entered is always center aligned.If I remove placeholder text, even in ios 4.2.1 everything works well.
My opinion regarding the issue:
If you notice the cursor position in prior versions(iOS 4.0 and 4.1),
you can notice that the cursor is not placed exactly at the center of the
placeholder text. But in 4.2 the cursor is placed neatly at the left side of
the placeholder.
Have a look at the following screen shots.
Cursor position in prior versions (iOS 4.0 and 4.1):
Cursor position in iOS 4.2:
If we notice the cursor position is improved in 4.2 and it looks better than the older versions.
I guess Apple has made this intentionally to make it better.

i image does not work good in utility app on iPhone app

I working on a utility app. When I run the app in simulator clicking i image at the bottom flips the view in a flash. But when I run the app on iPhone device it behaves abnormally. At times it flips the view in just 1 tap. The other times it does not bother to react even after tapping the image 10 times. I tried with other utility app also - same issue. Thus its not an issue with the code I believe.
Any help to resolve this issue is much appreciated.
Thanks,
AJ
This is a problem because the 'i' button is not very big by default and touches are missed easily.
You need to put another button in front of the 'i' button with the 'Custom' type in Interface Builder, so that it doesn't have any image. Then you can make this invisible button much larger and connect it to the same action as the info button.
You also need to enable "shows touch on highlight" in Interface Builder so that you get the white glow effect when the invisible button is touched.