iphone weview and scrolling ios 7.1 - iphone

I have problem in ios7.1 the webview scroll up when focus on textBox/textarea. when keyboard up my header and I click on any button than show. Also in ios 7.0 for focus input field tap two times. click here. I use it but don't work.

Related

TVOS - Keyboard color changes on backgrounding app when using UISearchController

I am using Swift 5, testing on a 4K Apple TV.
I am using the UISearchController without subclassing. I am trying to display a white search bar and keyboard on a dark background. So I set:
self.searchController.searchBar.keyboardAppearance = .dark
(I've tried this in viewDidLoad, viewWillAppear and viewDidAppear)
This creates a search bar and keyboard that looks like:
Then if I hit the menu button to leave my app and go back to the Apple TV home page and resume the app it changes the keyboard bar black:
Any ideas what is going on here?
(Note: When running this on the Simulator in Xcode the search bar stays white after backgrounding, I don't know why but it only seems to happen on actual Apple TVs)

UITableView edit mode strange behaviour under iOS 7

Under iOS <=6:
When I click round switch, the delete "Usun" button goes from right.
In iOS 7: the cell goes to the left, delete "Usun" button is hidden, but work!!! after click.
This is the same code & the same xib like in 6.
How can I resolve this problem under iOS 7?

Odd UIBarButtonItem behaviour

Try the following in the simulator or a device.
Create a new Master-Detail application for iPhone or compare any app that uses navigation bars. iOS 5 or 6, don't matter.
In the case of the template: Let it run,create an entry using the plus button and open the entry.
Now touch the area below the navbar directly under the UIBarButtonItem thats leads back.
Even when the button nor the navigation bar is clearly not touched, the button will activate and the view does return.
This is way beyond the 44x height of the navbar.
What is happening here?
Why does this button respond way beyond his frame?
Cant find an info about this in the HIG.
iPhone
The area you can press to activate the back button is actually larger than the actual pixels of the button to accommodate the average thickness of fingers. (The actual number of pixels is buried somewhere in Apples HIG. I think it is 44x44.) This is expected behavior.
iPad
The master view controller is automatically dismissed when you tap outside it. This is expected behavior.

TextField hiding under keyboard in iphone

Merged with iPhone - Keyboard hides TextField.
I have a view with 10 textfields in it, when I tap on a textfield keyboard appears, this keyboard hides textfields and I was unable to see textfielld while editing.
I have seen something in UICatalog which moves corresonding textfield up in the view while editing but unable to follow the code ie which portion of the code is performing this.
Can you please spread some light on this.

How do you launch a UITextView (iPhone) in edit mode?

I'm working on an iPhone app with only one view, a UITextView, and I want it to launch all ready for typing (with the keyboard activated) but by default it requires the user to first tap the view before the keyboard appears. I've seen this done in other applications but haven't been able to figure it out. Thanks.
you need to use the -becomeFirstResponder method on your field:
[myTextField becomeFirstResponder];
This will pop the keyboard up. To hide the keyboard, use -resignFirstResponder.