Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 50

NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
09/28/14 05:47 PM (9 years ago)

FIX: Ultimate Screen Creator - Keyboard while editing text

A few Text View questions for Chris: I can point to the probable cause, but note the code change ;) Running iOS 7.1.2 on iPhone 5c: 1) When editing a textView, the keyboard that is displayed does not have a "Done" button- so how is user expected to exit edit mode? Seems the design is that a tap outside of the keyboard (gestureRecognizer) would end the edit. However I could not find any special handling for when textView Keyboard is displayed to remove the keyboard. Would we need to add a Done button in the Navbar? 2) EDIT: Working: If textView is covered by the on-screen keyboard, the user is not able to see the complete height while the keyboard is on screen. Chris1- please Help with #1 Thanks
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
10/12/14 09:37 AM (9 years ago)
Chris1- Please comment. The #1 bug make the Text View unusable! Keyboard will not hide, (and want to maintain the Return button)
 
NCbuzz
Code is Art
Profile
Posts: 575
Reg: Sep 11, 2013
Lillington, NC
11,100
like
10/25/14 08:56 AM (9 years ago)
OK - it looks like Apple says the behavior of dismissing the on-screen keyboard is not a "bug" but a design in iOS 7 vrs 6... The original code in CR_ultimateScreenCreator.m should have worked: (but does not) [activeField resignFirstResponder]; however if you add the following code on the next line it will fix it :) [self.view endEditing:YES];
 

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.