Iphone text box display cursor

I am developing a calculator for iphone. The design is similar to this:

The problem is that I cannot show the cursor in my text box, because the input is controlled by buttons such as an image. In addition, [textField becomesFirstResponder] does not work because it displays the default keyboard.

So I tried

textResultado.inputView = scrollView;

but then tabBarController cannot receive touch events because my user keyboard contained in the scroll view is above it.

Signing from the application in the AppStore should be a way to solve this problem (show the cursor in the TextField using a different input element, and the tabBar still works fine).

Can anybody help me?

+3
source share
2

, textResultado .

textResultado.inputView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
[textResultado becomeFirstResponder];
+2

, gui iPhone 4 iOS 6.1.3. iPhone 3Gs iOS 6.1.3 .

, . .

0

All Articles