Xcode release 12.2, both iOS 13 and 14. Both on device and simulator. The work 
I did on the app was trying to get the split view controller with the new APIs 
to behave like when used with the old APIs. I finally gave up after trying 
every possible combination of style and behavior. My app was originally 
designed 5 years ago. There might still be stuff that is impacting the new 
APIs, although I did search for all occurrences of the split view controller 
and isolated the few calls I had with @available to leave the new APIs do their 
job. But, I don’t see how this is related to all textfields and textviews now 
being unable to work with the keyboard!

-Laurent.
-- 
Laurent Daudelin                                                                
                laur...@nemesys-soft.com
Skype: LaurentDaudelin          
Logiciels Némésys Software                                                      
http://www.nemesys-soft.com/

> On Nov 17, 2020, at 19:51, Alex Zavatone <z...@mac.com> wrote:
> 
> Which version of Xcode and iOS?  Is it in a Simulator, on the device or both?
> 
>> On Nov 17, 2020, at 6:12 PM, Laurent Daudelin via Cocoa-dev 
>> <cocoa-dev@lists.apple.com> wrote:
>> 
>> Anybody knows why, all of a sudden, when the keyboard will appear when 
>> editing a UITextField or a UITextView, the entire screen seems to freeze? 
>> The app in the debugger still to be still running but the interface seems 
>> frozen. Trying to rotate doesn’t do anything. There are no errors displayed 
>> in the console. I had text fields and text views that were working as usual, 
>> I made some changes here and there and now, I can’t remember what I could 
>> have done that is causing this problem. It looks like the runloop is not 
>> working. I have one case of textfield in a tableview controller that is 
>> presented modally like this:
>> 
>>       self.loginController = [APP_DELEGATE.currentStoryboard 
>> instantiateViewControllerWithIdentifier:@"LoginTableViewController"];
>>       self.loginController.nameTextField.text = lastAccountUsed;
>>       self.loginController.modalPresentationStyle = 
>> UIModalPresentationFormSheet;
>>       [self presentViewController:self.loginController animated:YES 
>> completion:nil];
>> 
>> From the login view controller:
>> 
>> 
>> - (void)viewWillAppear:(BOOL)animated
>> {
>>      [super viewWillAppear:animated];
>>       self.nameTextField.enabled = YES;
>>      self.nameTextField.text = @"";
>>       self.passwordTextField.enabled = YES;
>>      self.passwordTextField.text = @"";
>>      self.loginButton.enabled = NO;
>> }
>> 
>> - (void)viewDidAppear:(BOOL)animated
>> {
>>      [super viewDidAppear:animated];
>>      [self.nameTextField becomeFirstResponder];
>> }
>> 
>> This has worked for a long time and now, when the same code is executed, the 
>> interface just freezes. I have another case of a view controller that is 
>> presented as a popover and contains a UITextView. As soon as my code tries 
>> to set the text view as first responder, the keyboard appears, the text 
>> insertion point shows but does not blink.
>> 
>> I really don’t know what I did :/
>> 
>> Anybody has any idea?
>> 
>> -Laurent.
>> -- 
>> Laurent Daudelin                                                             
>>                 laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com>
>> Skype: LaurentDaudelin               
>> Logiciels Némésys Software                                                   
>> http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
>> _______________________________________________
>> 
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> 
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> 
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/cocoa-dev/zav%40mac.com
>> 
>> This email sent to z...@mac.com

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to