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 8899375
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T00:50:23+00:00 2026-06-15T00:50:23+00:00

Hello stackoverflow’s guys ! I got a issue and i don’t know how to

  • 0

Hello stackoverflow’s guys !

I got a issue and i don’t know how to fix it…

I’ve got a StoryBoard with a UINavigationController which has a UIViewController as RootViewController. In this RootViewController i have 2 UIButton.

The first UIButton instantiateViewControllerWithIdentifier a UICollectionViewController it works great.

The seconde UIButton instantiateViewControllerWithIdentifier a UIViewController which has 2 UITableView. Here is my issue when i instantiate my UIViewController my 2 UITableView are well loaded BUT when i touch it ( scroll ) i got this error :

-[__NSCFType scrollViewDidScroll:]: unrecognized selector sent to instance 0x752ff90
2012-11-21 10:22:49.300 Month[19992:11303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFType scrollViewDidScroll:]: unrecognized selector sent to instance 0x752ff90'

But when i made it RootViewController everyworks as i want… so i got a crash only when the RootViewController instantiate my UIViewController.

this is how i instantiate my UIViewController when i press the UIButton :

  DayViewController *viewController = [self.storyboard instantiateViewControllerWithIdentifier:@"calendarDay"];

Hope you can help me with those informations.

Regards,

  • 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-06-15T00:50:24+00:00Added an answer on June 15, 2026 at 12:50 am

    It looks as though you have an object that you’re using as a UIScrollViewDelegate and that object is being released too early. ([__NSCFType scrollViewDidScroll:] indicates that the message is being sent to a Core Foundation item, which probably means an object address is being reused for something else.)

    The code you show for creating a DayViewController will assign the object to a local variable. Assuming you’re using ARC, if that’s the object being used as the delegate, try assigning it to a strong property instead. Such as:

    // .h file
    @property (nonatomic, strong) DayViewController *viewController;
    
    // .m file
    self.viewController = [self.storyboard instantiateViewControllerWithIdentifier:@"calendarDay"];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello stackoverflow people! I've got a problem which I haven't been able to solve
Hello brilliant guys on Stackoverflow, please I would like to know if in ASP.Net
Hello StackOverFlow nation . I'm trying to add information to jqGrid , which is
Hello everybody in StackOverflow, I'm a Fan of this site, has helped me out
Hello StackOverflow, I'd like to know if there is way to trigger an event
Hello StackOverflow Community, I hope you guys can help me with this here: On
Hello StackOverflow Community, I've got a problem since two days with a larger image
Hello StackOverflow community! I started to learn Node.js recently, and decided to implement a
Hello StackOverflow :) I have created some code inside my onStart(); method to ensure
Hello stackoverflow community ! I am trying to figure out how to architect my

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.