Posts

Post not yet marked as solved
1 Replies
Here is what I found out. Say I have three UITextFields called: 'First Name', 'Last Name', and 'Password'. Password is set to 'Secure Text Entry'.When I only have one System keyboard and one third-party keyboard:- When I tap 'First Name', I get the System keyboard with a Globe. And long-pressing the Globe shows my third-party keyboard.- When I tap 'Last Name', the Globe disappears from the System keyboard.- When I tap 'Password', the Globe remains gone from the System keyboard (expected behavior).When I add a second System keyboard (say Emoji), I get a Globe key on the keyboard for 'First Name', and 'Last Name', and not 'Password' (which is expected). However what isn't expected:- When I tap 'First Name' and long-press the Globe - I get system, emoji, and third-party keyboards.- When I tap 'Last Name' and long press the Globe - I only get system and emoji.By setting 'Password' UITextField's property of 'Secure Text Entry' to YES, third-party keyboards will not be shown by default and can also not be toggled to. I get that.But it is almost as-if the UITextField ('Last Name') before a 'Secure Text Entry' UITextField ('Password') is also somehow affected by 'Secure Text Entry' setting for 'Password'. I don't get that.Can someone help me understand? Or is this a bug?Thanks,Allen
Post marked as solved
1 Replies
Chalk this up to developer error. I had some legacy code in my recorder class that was messing with AVAudioSession, effectively resetting the session.
Post not yet marked as solved
1 Replies
I set Xcode "logging" breakpoints on the observers willResignActive and didBecomeActive to log the name of the breakpoint. Xcode logged willResignActive every time my phone received a call and didBecomeActive every time the call ended. I am realizing that calls to NSLog and "watching for them" in the Console App on my Mac may not be the correct approach. NSLog/Console seems flaky: i.e., drops NSLog messages.