Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 909729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:55:45+00:00 2026-05-15T16:55:45+00:00

My iPhone app is a Tab Bar Application, which has 5 tabs. In each

  • 0

My iPhone app is a Tab Bar Application, which has 5 tabs. In each tab, there is a table view, embedded with navigation controller. When these table views appear, data will be loaded from database.

When I switch the tabs very fast by tapping the tab bar randomly, the app crashes sometimes.
The error is:

+[UIWindow length]: unrecognized selector sent to class 0x3e055bd4
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[UIWindow length]: unrecognized selector sent to class 0x3e055bd4'
terminate called after throwing an instance of 'NSException'

Does anyone have advices or hints about find out the reason of the problem?

P.S. I created another similar but simpler app, which cannot be crashed by this way.


More info about calling stack:

> *** Call stack at first throw:
(
 0   CoreFoundation                      0x31785fd3 __exceptionPreprocess + 114
 1   libobjc.A.dylib                     0x320118a5 objc_exception_throw + 24
 2   CoreFoundation                      0x31789af3 +[NSObject(NSObject) doesNotRecognizeSelector:] + 102
 3   CoreFoundation                      0x31788f15 ___forwarding___ + 508
 4   CoreFoundation                      0x3171b680 _CF_forwarding_prep_0 + 48
 5   UIKit                               0x3019a3ff -[UITableHeaderFooterView setText:] + 30
 6   UIKit                               0x3028239d -[UITableView(UITableViewInternal) _sectionHeaderView:withFrame:forSection:opaque:reuseViewIfPossible:] + 488
 7   UIKit                               0x30199e41 -[UITableView(UITableViewInternal) _sectionHeaderViewWithFrame:forSection:opaque:reuseViewIfPossible:] + 60
 8   UIKit                               0x3016bcb1 -[UITableView(_UITableViewPrivate) _updateVisibleHeadersAndFootersNow:] + 852
 9   UIKit                               0x3016b1a1 -[UITableView(_UITableViewPrivate) _updateVisibleCellsNow:] + 1408
 10  UIKit                               0x301693c1 -[UITableView layoutSubviews] + 140
 11  UIKit                               0x301276ab -[UIView(CALayerDelegate) _layoutSublayersOfLayer:] + 26
 12  CoreFoundation                      0x317117ff -[NSObject(NSObject) performSelector:withObject:] + 22
 13  QuartzCore                          0x321e2585 -[CALayer layoutSublayers] + 120
 14  QuartzCore                          0x321e233d CALayerLayoutIfNeeded + 184
 15  QuartzCore                          0x321e1e0f _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 210
 16  QuartzCore                          0x321e1b69 _ZN2CA11Transaction6commitEv + 192
 17  QuartzCore                          0x321e740d _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 52
 18  CoreFoundation                      0x3175ba49 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 16
 19  CoreFoundation                      0x3175d475 __CFRunLoopDoObservers + 412
 20  CoreFoundation                      0x3175e77b __CFRunLoopRun + 854
 21  CoreFoundation                      0x317078eb CFRunLoopRunSpecific + 230
 22  CoreFoundation                      0x317077f3 CFRunLoopRunInMode + 58
 23  GraphicsServices                    0x33ac26ef GSEventRunModal + 114
 24  GraphicsServices                    0x33ac279b GSEventRun + 62
 25  UIKit                               0x3011e2a7 -[UIApplication _run] + 402
 26  UIKit                               0x3011ce17 UIApplicationMain + 670
 27  MyAPP                            0x00002193 main + 70
 28  MyAPP                            0x00002114 start + 52
)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:55:45+00:00Added an answer on May 15, 2026 at 4:55 pm

    Eventually, I found the problem.

    I init a subview in viewWillApear: and use it in tableView:viewForHeaderInSection: and release the subview in viewDidDisappear:.

    I changed the init/release into viewDidLoad: and viewDidUnload:. Then the problem is gone.

    Thank both answerers and hope this answer will help others.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.