Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parentContainerViewController case Page jam #2047

Closed
AndyZZhz opened this issue May 11, 2024 · 1 comment
Closed

parentContainerViewController case Page jam #2047

AndyZZhz opened this issue May 11, 2024 · 1 comment

Comments

@AndyZZhz
Copy link

AndyZZhz commented May 11, 2024

I use textfiled to search.

I use this framework by below method
enabledDistanceHandlingClasses
enabledTouchResignedClasses

Just click on the textfield in the project, and a stuck situation will appear. Log as follows

  • thread 1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame 0: 0x0000000185b1ac00 libobjc.A.dylib`objc_retain + 16
    • frame 1: 0x000000011d3e1a3c IQKeyboardManagerSwiftUIView.parentContainerViewController(self=0x00000001280f8200) at IQUIView+Hierarchy.swift:97:13 frame 2: 0x000000011d3e2378 IQKeyboardManagerSwift@objc UIView.parentContainerViewController() at :0
      frame 3: 0x000000011d3c6ee8 IQKeyboardManagerSwiftIQKeyboardManager.textFieldViewDidBeginEditing(notification=Foundation.Notification @ 0x000000016efcdb10, self=0x000000013c9b3870) at IQKeyboardManager+UITextFieldViewNotification.swift:146:53 frame 4: 0x000000011d3c77a0 IQKeyboardManagerSwift@objc IQKeyboardManager.textFieldViewDidBeginEditing(_:) at :0
      frame 5: 0x000000018d7674c8 CoreFoundation__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148 frame 6: 0x000000018d766e90 CoreFoundation___CFXRegistrationPost_block_invoke + 88
      frame 7: 0x000000018d766dd8 CoreFoundation_CFXRegistrationPost + 440 frame 8: 0x000000018d766328 CoreFoundation_CFXNotificationPost + 724
      frame 9: 0x000000018c702864 Foundation-[NSNotificationCenter postNotificationName:object:userInfo:] + 92 frame 10: 0x0000000190a2a998 UIKitCore-[UITextField _notifyDidBeginEditing] + 140
      frame 11: 0x0000000190a2a6f8 UIKitCore-[UITextField _becomeFirstResponder] + 196 frame 12: 0x000000018fad829c UIKitCore-[UIResponder becomeFirstResponder] + 540
      frame 13: 0x000000018fad8070 UIKitCore-[UIView(Hierarchy) becomeFirstResponder] + 120 frame 14: 0x0000000190a297d0 UIKitCore-[UITextField becomeFirstResponder] + 152
      frame 15: 0x000000018f9f1b00 UIKitCore-[UIView(Hierarchy) _promoteSelfOrDescendantToFirstResponderIfNecessary] + 104 frame 16: 0x000000018fa830cc UIKitCore+[UIView _performBlockDelayingTriggeringResponderEvents:forScene:] + 276
      frame 17: 0x00000001900fecd8 UIKitCore-[_UINavigationParallaxTransition animateTransition:] + 952 frame 18: 0x000000018fbecbb8 UIKitCore___UIViewControllerTransitioningRunCustomTransition_block_invoke_3 + 52
      frame 19: 0x000000018fbecb2c UIKitCore+[UIKeyboardSceneDelegate _pinInputViewsForKeyboardSceneDelegate:onBehalfOfResponder:duringBlock:] + 96 frame 20: 0x000000018fbeca90 UIKitCore___UIViewControllerTransitioningRunCustomTransition_block_invoke_2 + 196
      frame 21: 0x000000018fb3467c UIKitCore+[UIView(Animation) _setAlongsideAnimations:toRunByEndOfBlock:] + 180 frame 22: 0x000000018fb33f0c UIKitCore_UIViewControllerTransitioningRunCustomTransition + 484
      frame 23: 0x000000019004f074 UIKitCore-[UINavigationController _startCustomTransition:] + 3276 frame 24: 0x000000018fa73f78 UIKitCore-[UINavigationController _startDeferredTransitionIfNeeded:] + 496
      frame 25: 0x000000018fa73670 UIKitCore-[UINavigationController __viewWillLayoutSubviews] + 96 frame 26: 0x000000018fa735d4 UIKitCore-[UILayoutContainerView layoutSubviews] + 172
      frame 27: 0x000000018f98e694 UIKitCore-[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1528 frame 28: 0x000000018eda41c0 QuartzCoreCA::Layer::layout_if_needed(CA::Transaction*) + 500
      frame 29: 0x000000018eda3d48 QuartzCoreCA::Layer::layout_and_display_if_needed(CA::Transaction*) + 144 frame 30: 0x000000018edaa278 QuartzCoreCA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
      frame 31: 0x000000018eda3574 QuartzCoreCA::Transaction::commit() + 648 frame 32: 0x000000018eda321c QuartzCoreCA::Transaction::flush_as_runloop_observer(bool) + 88
      frame 33: 0x000000018fa06974 UIKitCore_UIApplicationFlushCATransaction + 52 frame 34: 0x000000018fa0648c UIKitCore_UIUpdateSequenceRun + 84
      frame 35: 0x000000018fa05b7c UIKitCoreschedulerStepScheduledMainSection + 144 frame 36: 0x000000018fa05c38 UIKitCorerunloopSourceCallback + 92
      frame 37: 0x000000018d76f31c CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 frame 38: 0x000000018d76e598 CoreFoundation__CFRunLoopDoSource0 + 176
      frame 39: 0x000000018d76cd4c CoreFoundation__CFRunLoopDoSources0 + 244 frame 40: 0x000000018d76ba88 CoreFoundation__CFRunLoopRun + 828
      frame 41: 0x000000018d76b668 CoreFoundationCFRunLoopRunSpecific + 608 frame 42: 0x00000001d0b365ec GraphicsServicesGSEventRunModal + 164
      frame 43: 0x000000018fb882b4 UIKitCore-[UIApplication _run] + 888 frame 44: 0x000000018fb878f0 UIKitCoreUIApplicationMain + 340
      frame 45: 0x0000000102990db4 QFSAASmain at AppDelegate.swift:37:7 [opt] frame 46: 0x00000001b01bedcc dyldstart + 2240

Versions

**Xcode:15.3
**Mac OS: 14.4 (23E214)
**Simulator/Device Name: Model: iPhone 12 Pro
**Library Version: pod 'IQKeyboardManagerSwift', '6.5.16'

@hackiftekhar
Copy link
Owner

Could you please attach a demo project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants