Self.navigationController pushViewController not working

I am currently developing an Split View iPad app and have some problems with pushing on a view on a UINavigationController.
In the rootviewcontroller i am pushing a new view on the detail side with this code:
RootViewController.m
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    UIViewController  *localdetailViewController = nil;
    UIViewController *detailView;
    detailView =[[QuestionViewController alloc] initWithNibName:@"QuestionView" bundle:nil];
    localdetailViewController=detailView;
    detailView=nil;
    UINavigationController *navController=[[UINavigationController alloc] init];
    [navController pushViewController:localdetailViewController animated:YES];
    iSnitchAppDelegate *delegate=[[UIApplication sharedApplication] delegate];
    NSArray *viewControllers=[[NSArray alloc] initWithObjects:[delegate.splitViewController.viewControllers objectAtIndex:0],navController,localdetailViewController,nil];
    delegate.splitViewController.viewControllers = viewControllers;
    [localdetailViewController release];
    [navController release];
In the settingsView there will be a tableView and when i click on one of the cells it have to push another view onto the current navigationcontroller. I'm trying to do that with this code:
QuestionViewController.m
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
    UIViewController *myViewC = [[ResultViewController alloc] initWithNibName:@"ResultView" bundle:nil];
    [self.navigationController pushViewController:myViewC animated:YES];
    [myViewC release];
But when the cell is clicked it highlights blue and nothing happens. Why is there nothing happening?
Note: i can add navigation buttons to the uinavigationcontroller with self.navigationItem.

Try this one
[self presentModalViewController:myViewC animated:YES];

Similar Messages

  • PushViewController not working

    Hello all,
    So I am trying to create a search that populates a table view with the results, and when the user clicks on one of the results it should push the detail page. I have this working on the iPhone but something is breaking on the iPad, not really sure what. I am pretty new to this so bare with me as I get up to speed.
    This is what my didSelectRowAtIndexPath: method looks like:
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath {
    // Navigation logic -- create and push a new view controller
    if(pdvController == nil)
    pdvController = [[PersonDetailViewController alloc] initWithNibName:@"PersonDetailView" bundle:[NSBundle mainBundle]];
    //"people" is an array of type person that holds the return results
    Person *aPerson = [appDelegate.people objectAtIndex:indexPath.row];
    //add person to be displayed to controller
    pdvController.aPerson = aPerson;
    [self.navigationController pushViewController:pdvController animated:YES];
    I have traced through and everything is loading properly, it is just not pushing the new view. Does anyone have any idea why this may not be pushing to the next view? I am pretty sure everything is linked up properly in IB. Thanks ahead of time!
    -G

    Try the developer forum. You'll find many like minded people there to assist you with questions. Most of the people in this forum are end-users.
    http://developer.apple.com/devforums/

  • WSUS "Self-update is not working" after new certificate

    After creating a new self-signed certificate in SBS 2008 wizard we get the following error:
    Text: Self-update is not working
    Source: Windows Server Update Service
    Event id: 13042
    I know that it must be something simple. But I can not find the solution.
    Can anyone help me with this problem?
    Thanks

    Hi,
    Based on your description and this error message, this issue may be caused by:
    The Default Web Site is not running and/or has a site binding for SSL (HTTPS).
    The Selfupdate virtual directory has the "Require SSL" checked under the SSL settings.
    For more details, please refer to the following KB and check if can help you to solve this issue.
    WSUS 3.0 Self-update is not working on Windows Small Business
    Server and Event ID 13042 is generated
    If anything I misunderstand or any update, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Aggregator V.5 self paced learning not working

    . I have 11 individual projects that I have combined into one aggregated file. When I run the aggregated file, the self-paced learning is not working correctly. Here is what I know:
    Captivate 5, WIN 7, Chrome browser. Clients choice of Captivate version.
    Client is not using a LMS
    All 11 projects have the “self-paced learning” checked in the TOC.
    I have published all 11 projects and they run fine. I can exit the browser while they are running and restart each project. The box displays, “Continue from where you stopped last time?” and I can either resume or start over.
    For each of the 11 projects, here are some settings:
    In >File>Publish settings>Project>Start end> Autoloader is checked
    In >File>Publish settings>Project>Start end> Autoplay is checked
    In >File>Publish> eLearning output=disabled
    In >File>Publish>ActionScript Version=AS3
    I have republished all individual projects, and also checking the “Force republish all the slides”.
    Cleared the browser cache
    All 11 individual projects (.swf and .html), the .js file as well as the aggregated file(s) (.swf and .html) are all located in the same folder on my hard drive. They are close to the top of the naming hierarchy.
    Client wants to be able to use self-paced learning  in the Aggregated files to allow the learner to resume where they left off as well as starting over. I start the aggregated file, let the slides run for a bit and then stop, exiting the browser. I return to the location on my hard drive and click the .html file name. I am returned to the aggregated file at the very beginning and not given the option to start where I left off. I have checked each of the projects persistanceInfo.sol. Among the oddball characters, the wording "don'task" appears, but I am not sure if some of the characters are indicative of the "Don't ask" box being checked or not. I have reviewed each of the projects in the aggregated file. On each and every occasion, when I close and reclick the link, I am presented with the dialog box asking if I want to continue where I left off. Clicking ok allows the project to resume where I left off. Clicking cancel restarts the project at the beginning.
    Additionally, I have made sure that the target file location is listed on the Global Flash Security settings as a trusted location.I have uploaded the files to a web server on our company site. Running the file from there provides no additional benefit-I get the same results.
    Thoughts?
    Thanks
    Jim

    All slides in the presentation are marked as continue.  I have gone
    through the first 5 slides and when I refresh the browser or exit out of
    Internet Explorer and open the project again it just starts at the
    beginning.
    Brenda
    From:   Lilybiri <[email protected]>
    To:     Brenda Dersham <[email protected]>
    Date:   01/25/2011 08:33 AM
    Subject:        Self-Paced Learning - Bookmark not
    working in Captivate 5
    Hello Brenda,
    How did you check: after uploading to a LMS?
    You have to be aware of the fact that a slide will be marked as 'viewed'
    only when the playbar has played the whole slide till the end. If you do
    pause slides with a click box, button, TEB and attach the action 'Go to
    Next slide' or something similar instead of the default action 'Continue'
    this will not happen and the slide will not be marked as completed.
    Lilybiri

  • ISE upgrade 1.2: Self-provisioning portal not working

    Hi all,
    I need help with Self-Provisioning portal flow not showing the agent installation page after upgrade from 1.1.1 to 1.2 on a couple of 3315. I've configured all the pieces as instructed by BYOD SBA guide at http://www.cisco.com/en/US/docs/solutions/SBA/February2013/Cisco_SBA_SLN_BYOD_InternalCorporateAccessDeploymentGuide-Feb2013.pdf
    Screenshot of page is attached:
    I've checked ise-console.log application log file and found two errors correponding to the first page:
    [portal-http-84431][] SystemConsole -::c0a8a82a000000d7523c70f9::guest:- com.cisco.cpm.provisioning.exception.ProvisioningException: java.security.cert.CertificateException: Unable to initialize, java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
    [portal-http-84431][] SystemConsole -::c0a8a82a000000d7523c70f9::guest:-         at com.cisco.cpm.provisioning.cert.CertProvisioningFactory.initialize(CertProvisioningFactory.java:333)
    and the second (not working) one:
    [portal-http-84431][] SystemConsole -:xxxxx@xxxxxxx:c0a8a82a000000d7523c70f9::guest:- java.lang.NullPointerException
    [portal-http-84431][] SystemConsole -:xxxxx@xxxxxxx:c0a8a82a000000d7523c70f9::guest:-  at com.cisco.cpm.provisioning.cache.FlowStateCacheManager.getFlowStateCache(FlowStateCacheManager.java:202)
    Looks like something is wrong with a certification file, but I cannot find what is. I've exported and re-installed current server certificates (as instructed by upgrade guide for 1.2) and nothing changed.
    Can somebody please help?
    Thanks,
    L

    Errors When Adding Devices to My Devices Portal
    Employees cannot add a device that is already added if another employee has previously added the device so that it already exists in the Cisco ISE endpoints database.
    If employees are attempting to add a device that supports a native supplicant, recommend that they use that instead. That registration process will overwrite the original registration and switch ownership to the new user.
    If the device is a MAC Authentication Bypass (MAB) device, such as a printer, then you must resolve ownership of the device, and if appropriate, remove the device from the endpoints database so that the new owner can successfully add the device.
    For more information on self-provisioning.
    http://www.cisco.com/en/US/docs/security/ise/1.2/user_guide/ise_mydevices.html Errors When Adding Devices to My Devices Portal
    Employees cannot add a device that is already added if another employee has previously added the device so that it already exists in the Cisco ISE endpoints database.
    If employees are attempting to add a device that supports a native supplicant, recommend that they use that instead. That registration process will overwrite the original registration and switch ownership to the new user.
    If the device is a MAC Authentication Bypass (MAB) device, such as a printer, then you must resolve ownership of the device, and if appropriate, remove the device from the endpoints database so that the new owner can successfully add the device.
    For more information on self-provisioning.
    http://www.cisco.com/en/US/docs/security/ise/1.2/user_guide/ise_mydevices.html

  • Self secured page not working in multiple sessions of same browser

    Hi
    I have created a selfsecured page by making security mode of page 'selfsecured' and adding validateParameter() in page controller.I didnt do guest user/resp setup as I want user to manually provide user id and choose responsibility,XLA_LINESINQ_GL_DRILLDOWN is a seeded function so no changes there.
    I am seeing very inconsistent behavior.
    1)At some times when I invoke function through url
    http://rws60180rems.us.oracle.com:8049/OA_HTML/RF.jsp?function_id=XLA_LINESINQ_GL_DRILLDOWN&jeHeaderId=64524&jeLineNum=1&jeSource=Payables&searchType=customize
    I get error "You are not authorized to access the function SLA: View Subledger Journal Entry Linesfrom a GL Journal Line. Please contact your System Administrator."
    2)On other times url works and user is taken to Ebs R12 login page,after providing login credentials user is able to view the page.But If I invoke same url or url with different parameters in different tab of browser or different window of same browser,get following error.Basically user can invoke this function and use this url only one at a time which is not practical in real world
    "You are trying to access a page that is no longer active.
    - You may have attempted to access to this page directly by bookmarking the page or copying the URL. This page does not support bookmarking.
    - The referring page may have come from a previous session. Please select Home to proceed."
    Am I missing something in my implementation?Are there any fnd profiles which control page behavior.Does OAF support that self secured pages successfully open in multiple browser windows.
    Preeti

    Hi,
    Is there any specific requirement to make the page as self secured, as most of the self selcured pages are build for guest user account. If there is any, kindly share.
    Now lets talk about the behaviour of the pages in different scenarios
    1) I get error "You are not authorized to access the function SLA: View Subledger Journal Entry Linesfrom a GL Journal Line. Please contact your System Administrator."
    Comment: As OAF pages does certain initialization like setting org_id, language etc based on the login user. But as you are trying to access the page by directly hitting the URL on browser, this might be one of the reason that you are getting above error.
    2) On other times url works and user is taken to Ebs R12 login page,after providing login credentials user is able to view the page.But If I invoke same url or url with different parameters in different tab of browser or different window of same browser,get following error.Basically user can invoke this function and use this url only one at a time which is not practical in real world
    Comment: As there is an active transaction and session for the browser, so it won't allow you to start with another transaction. But still can you try to do the same in another machine. Some of the browser allows you to have different session.
    Regards,
    Gyan

  • Self Extracting Archives not working?

    I downloaded a file that comes as a .sea (self extracting archive). Rumor has it I'm supposed to double click it to extract, but when I do, OS X asks me what program I want to use. The exact same file just opens on my friend's machine running Tiger, but not mine?
    Questions:
    1. Shouldn't it just open it? I thought that was the point... Anything I need to setup ot make it work?
    2. In my efforts to solve it, I picked "Stuffit Expander" when it asked me what App to use to open the .sea. How can I un-register .sea with Stuffit so that, in case Tiget does decide to finally open the file, it isn't being sent to Stuffit?
    Thanks

    Very weird how they created that file.
    When I double click on HPA3.sea, the OS asks what I want to open it with. Meaning that the file has no extension (visible or hidden) and no type/creator tags. So the OS has no idea what to do with it.
    So I launched Stuffit Deluxe and chose it through the Open command. It then says, "The archive you are opening cannot be browsed. Would you like to expand it instead?". I choose yes, and it creates a file named "HPA3.1.sea", which still has no icon, but behaves like an application when I double click it. It then goes on to install some Photoshop actions.
    So if you drop it on the Stuffit Expander, you should be getting another similarly named file. Either in the same location as the original, or in the folder where the Expander sits. If you're not getting it in either location, then try downloading the latest Expander from Allume's site. The Expander is free.

  • TOC Self-Paced Study not working

    I am not able to get my Captivate 4 videos to bookmark, I have selected TOC, self-paced study-but when I close the video after running a few slides, including an interactive one, then open again-my TOC flags are gone and it starts from the beginning.
    I do not have the "Never Resume Data" checked.
    Any help on this would be appreciated.

    Hi there
    What is your output format? I ask because this is something that could be format dependent. Meaning it would possibly work if you were using the SWF/HTML combination but not EXE.
    I'm not certain that's the case, but I find it reasonable that it could be.
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • WSUS 3.0 SP2 on Server 2008 R2 not working (no console or other access)

    Hi,
    In a brand new network with all 2008 R2 servers I setup WSUS. Initially I could not install the role from the Roles tool in Windows and had to install it from a downloaded file from Microsoft (which I later read is due to 2008 R2).
    This ran fine for about 2 weeks, I had all the clients and workstations in groups, approving updates and installing them.. all tickety boo and then one day the console wont connect and I have not been able to get back into WSUS to do anything. I tried removing
    and re-installing WSUS (both keeping the local database and then deleting it the second time) but nothing helps. My event log reports the following every 6 hours:
    Event ID 13042 - Self-update is not working
    Event ID 12002 - The reporting web service is not working
    Event ID 12012 - The API Remoting Web Service is not working
    Event ID 12032 - The Server Synchronization Web Service is not working
    Event ID 12022 - The Client Web Service is not working
    Event ID 12042 - The SimpleAuth Web Service is not working
    Event ID 12052 - The DSS Authentication Web Service is not working
    Some extra points based on what I have read:
    The server DOES have .net 4.0 installed
    WSUS has been removed and re-installed
    All servers are 2008 R2
    The server also runs Remote Desktop Services.. but aside from this is just a file and print server
    Because this server (and the whole network) are brand new, standard practice is to run WSUS against the Microsoft update site and install all critical and optional updates and patches and etc..
    While it was working, I can't recall installing anything that may have broken it, however typically Windows patches do not cause problems on our machines, so I do not pay too close attention to what gets installed.. Perhaps one of these updates broke WSUS?
    Can anyone offer some suggestions for how to troubleshoot this and try get things moving again?
    Thanks!

    Hi,
    > then one day the console wont connect and I have not been able to get back into WSUS to do anything.
    Any error message when you launch WSUS console?
    You mentioned you have Kaspersky Endpoint Security software installed on WSUS server, have you configured antivirus software to exclude WSUS content directory?
    If you cannot access the WSUS console and a timeout error message appears, the CPU of the WSUS server may be at, or very close to, maximum utilization, which causes the database software to time out. If the database software times out, the WSUS console cannot
    be displayed.
    One way of inadvertently overtaxing your WSUS server is to have antivirus software monitor the WSUS content directory. During synchronization, the antivirus software can overload the CPU.
    Please ignore WSUS content in your antivirus software and check the result.
    For more information please refer to following MS articles:
    Issues with the WSUS 3.0 SP2 Administration Console
    http://technet.microsoft.com/en-us/library/dd939877(v=WS.10).aspx
    The DSS Authentication Web Service is not working.
    http://social.technet.microsoft.com/Forums/en-US/configmgrsum/thread/c901eb7b-7c20-4fb8-87dd-93f128ec8703
    WSUS web services not working
    http://social.technet.microsoft.com/Forums/en/winserverwsus/thread/5b443a1c-01eb-4b73-ad06-03700032bec2
    Lawrence
    TechNet Community Support

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Self Registration and Attestation is not working in OIM 9.1.0.4

    Hi,
    i have setup a new OIM environment using OC4J. I am able to create users and provision IT resource but self registration and attestation is not working. not sure it is OC4J issue or OIM issue. For self registration it says request is submitted but when I login as xelsysadm and dlon't see any pending request and same thing happens for attestation. It dowsn't display any error but never gets completed and don't see this also in pending request list. If anybody has idea to debug the issue then let me know and thanks for help.
    Thanks,
    HC

    As per given bug it is looking for jars which is missing
    have you install connector using deployment manager?? if yes it copy required jars at target location. verify if not there copy jars in Scheduled Task folder.
    Check the document if any external jars required and same put at ThirdParty folder

  • Hyperlink text will not work with _self, only as self and then creates window

    I understand that the code below should work but it doesn't, I have to take the underline before self out, for the hyperlink to work at all, and then it creates another window for the file. There may some sort of glitch that I am not aware of. But the code below does not work as is in my app. Any further suggestions?
    var t:TextField = new TextField();
    t.htmlText = "hello world"+ "<a href='weeTestPage.html' target='_self'><u>click here</u></a>";
    t.autoSize=TextFieldAutoSize.LEFT;
    addChild(t);

    You are asking second time same question. (http://forums.adobe.com/message/3401366?tstart=0#3401366)
    I answered the first one.
    Haven't you read it?

  • Self.close() or window.close() both not working in iOS8.0.2 safari

    Both these function(self.close() and window.close()) are not working in safari.
    These methods are used to close the tab currently opened.
    So, if there is any workaround for this.

    if you have programming questions then you should likely post them in the developer forums rather than the normal forums
    Developer Forums

  • Does using self-signed cert. on ISE server has anthing to do with url redirect being not working

    Hi,
    I am setting up wired ISE environment. Everything is going fine, except url redirect is not working.
    I just wondering, if using self-signed certificate on ISE server has anothing to do with the problem ?.
    Appreciate your input.
    Thanks

    Hi,
    As long as you have not changed the hostname or the domain name (and dns is accurate). You should only receive the certificate warning but still get redirected without any issues.
    Thanks,
    Tarik Admani
    *Please rate helpful posts*

  • Self-Paced Learning - Bookmark not working in Captivate 5

    I followed the directions of adding a Table of Contents to one of my captivate projects and selecting Self-Paced Learning in order to create a bookmark but this does not work.  I have saved it as Adobe Flash 9 and Adobe Flash 10 but I am not getting the message about starting where I left off when either refreshing the browser or exiting and going back in.  What am I missing?
    Thanks for your time,
    Brenda

    All slides in the presentation are marked as continue.  I have gone
    through the first 5 slides and when I refresh the browser or exit out of
    Internet Explorer and open the project again it just starts at the
    beginning.
    Brenda
    From:   Lilybiri <[email protected]>
    To:     Brenda Dersham <[email protected]>
    Date:   01/25/2011 08:33 AM
    Subject:        Self-Paced Learning - Bookmark not
    working in Captivate 5
    Hello Brenda,
    How did you check: after uploading to a LMS?
    You have to be aware of the fact that a slide will be marked as 'viewed'
    only when the playbar has played the whole slide till the end. If you do
    pause slides with a click box, button, TEB and attach the action 'Go to
    Next slide' or something similar instead of the default action 'Continue'
    this will not happen and the slide will not be marked as completed.
    Lilybiri

Maybe you are looking for

  • UDO  Saving Problem

    Hi Friends, I created  a new form and binded all fields.I have some header values that i wanted to save to master table(Master data) and 3 matrices those values i need to save to one child table(Master   DataLine).The problem is that when i save ,val

  • Wrt150n - problem with connection

    Hey, Its a second wrt150n router with the same problem. I exchanged the first one thinking its was a faulty unit. Here's the problem after sometime of usage... it can be a day, two or just a few hours, im getting disconnected from the router. Both wi

  • Can't eject disk image from Finder in Mountain Lion

    I just got a new MacBook pro. I'm running Mountain Lion (10.8.2). Any time I try to unmount an external hard drive or eject a disk image from the Finder, nothing happens (either clicking the contextual eject icon or right-clicking). The items in ques

  • Tag Files Help

    I am trying to write and use a simple .tag file, but I am getting an error. I am using Weblogic 8.1, which is a JSP 2.0 container, so it should work. In the WEB-INF/tags directory of my web app I have a tag called firstTag.tag, with code as shown bel

  • AE: Path not Found error

    Hi All When we create one workflow with one role requested the approval process works, but it does not work when we have one request for 2 roles from 2 different systems. Take note that on their own these roles create a workflow and the approval proc