Discussion Forums  >  Config Data, JSON, App Refresh

Replies: 4    Views: 245

Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
06/09/15 05:47 PM (3 years ago)

The Keyboard takes up too much space!

Hello everyone!

I've created an html form linked to php script which dumps the data into a database that I created. (WOW, I never thought that I would ever get to say that!)Thanks BTers

My problem is that when I turn my iPhone to landscape mode, the keyboard takes up the who;e screen and you can't see the form. This is on an iPhone 6 iOS 8.

My assumption is that this has a lot to do with auto sizing and we can't easily select auto sizing in Xcode with a Buzztouch project.

Any suggestions on how to reduce the size of the keyboard in landscape mode?

The form opens within the app by he way

Thanks
Dave
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2937
Reg: Jul 11, 2012
Cerritos
37,870
like
06/09/15 07:26 PM (3 years ago)
For landscape mode, the Frame of the UIWebView has to be adjusted by moving up above the keyboard and to also resize itself to fit into that smaller viewport.

-- Niraj
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2937
Reg: Jul 11, 2012
Cerritos
37,870
like
06/09/15 07:48 PM (3 years ago)
See if you can fix it on the HTML side by looking at the suggestions on this post:

http://stackoverflow.com/questions/18970865/ios-7-input-elements-moving-fixed-positioned-elements

-- Niraj
 
Niraj Shah
buzztouch Evangelist
Profile
Posts: 2937
Reg: Jul 11, 2012
Cerritos
37,870
like
06/09/15 07:49 PM (3 years ago)
 
Calypso Kid
Aspiring developer
Profile
Posts: 780
Reg: Mar 09, 2012
Upstate New Yor...
18,200
like
06/10/15 05:00 AM (3 years ago)
Thanks Niraj. I'll give it a try tonight when I get home. I'll post the results.

Dave
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.