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

  • SEARCH
  • Home
  • 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 8056599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:45:32+00:00 2026-06-05T08:45:32+00:00

I started my app with the master-detail template. I simply added two other VCs

  • 0

I started my app with the “master-detail” template. I simply added two other VCs and changed the “initial view controller” checkbox to “Safety Culture MainVC”…when I run, my app crashes…

What do I need to do?!

This is a screenshot of the default storyboard with my two other VCs thrown in–they work when the “Navigation Controller” is the default.

Clearly, I’m a beginner, so as much detail as you can give me is helpful!!
Thanks!

Storyboard

Debug Output:

2012-06-07 10:38:42.812 SafetyCulture[1020:fb03] -[safetyCultureMainVC
topViewController]: unrecognized selector sent to instance 0x6b7c210
2012-06-07 10:38:42.840 SafetyCulture[1020:fb03] * Terminating app
due to uncaught exception ‘NSInvalidArgumentException’, reason:
‘-[safetyCultureMainVC topViewController]: unrecognized selector sent
to instance 0x6b7c210’
*
First throw call stack: (0x16ae022 0x183fcd6 0x16afcbd 0x1614ed0 0x1614cb2 0x2619 0x17386 0x18274 0x27183 0x27c38 0x1b634 0x1598ef5
0x1682195 0x15e6ff2 0x15e58da 0x15e4d84 0x15e4c9b 0x17c65 0x19626
0x22ed 0x2255) terminate called throwing an exception(lldb)

  • 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-05T08:45:34+00:00Added an answer on June 5, 2026 at 8:45 am

    topViewControlleris a method of a UINavigationController. You app tries to call this method and since it is not there it crashed.

    In your image your entry point arrow is still on the navigation controller:

    enter image description here

    Move it via drag&drop to your safetyCultureMainVClike this:
    enter image description here

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

Sidebar

Related Questions

I just started playing with the Master-Detail view template in Xcode 4.3 and I
I'm struggling getting started with the Universal App template in Xcode 4.1. I'm following
My iPhone app started logging this error: lo->hi recycling invariant violated! followed by: Program
Just getting started building an app using the v6 of the facebook c# sdk
I am working on an existing ASP.NET MVC app that started small and has
I started developing an android app that have to interact with MMS attachements, in
I started writing functional tests for my rails app today. I use the RESTful
A desktop app (made in Delphi) is started by User A. Let's call it
I started a grails application by grails create-app. For modularity, I feel like it
I started deploying my latest RoR app on Heroku , which required me to

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.