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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:50:13+00:00 2026-06-05T15:50:13+00:00

I am building an iPhone app and I have implemented a section for knowledge

  • 0

I am building an iPhone app and I have implemented a section for knowledge base about the app’s subject matter. I used a table view and navigation viewController so that upon selecting any cell in the table a new view controller will be created and added on to the navigation stack.

I tried to implement the curl up/ down animation myself but i get this error at runtime

Parent view controller is using legacy containment in call to
-[UIViewController transitionFromViewController:toViewController:duration:options:animations:completion:]’

here is the code sample

(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{

// change the accessory button to activity indicator
UITableViewCell *cell = [mTableView cellForRowAtIndexPath:indexPath];


SomeViewController *ad = [[SomeViewController alloc] initWithNibName:@"SomeViewController" bundle:[NSBundle mainBundle]];
ad.title = cell.textLabel.text;


[self.navigationController addChildViewController:ad];
[self.navigationController transitionFromViewController:self toViewController:ad duration:0.7 options:UIViewAnimationOptionTransitionCurlUp animations:^{} completion:^(BOOL completed){
    [ad release];
}];

Any help, advice and tips is very much appreciated! Thanks!

  • 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-05T15:50:14+00:00Added an answer on June 5, 2026 at 3:50 pm

    Hey I got the same exception when my custom containment view controller was a subclass of UINavigationViewController. When I made my containment vc a subclass of UIViewController it worked like a charm.
    Your problem might be different. From the apple docs:

    This method is only intended to be called by an implementation of a
    custom container view controller. If you override this method, you
    must call super in your implementation.

    You are calling this method on a UINavigationViewController instance, not on an instance of a custom container view controller.

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

Sidebar

Related Questions

I'm building an iphone app and I've got a table view with some textfields
I'm building an iphone app, and i have my first view call a second
I have a question regarding iphone development. i am building an app for iphone
I'm building my iPhone app under SDK 3.1.3. My Base SDK and iPhone OS
I'm building an iPhone app, with the following structure: I have the MainViewController which
I have an iPhone app I'm currently building in XCode 4.3 with Storyboard. I
I'm building my iphone app. I've got a problem. For every view without the
I am building a iPhone web based app for our execs to view sales
Building an iPhone app, using: Xcode 4.1 Base SDK iOS 4.3 Apple LLVM Compiler
I´m building an app for iphone. I have two views. The first time the

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.