Does the NavigationController work only when placed in appDelegate?

I am trying to build application that has a tab bar controller with two view and the first view contains a segmented control.
Based on the decision of the segmented control, I load the tableview. The table view has an instance of navigation Controller in which I have assigned the tableview controller as a rootview controller. When I click on any row of the table view, a new controller gets pushed on the table view. In my case, the new view does not show up on the screen, once the row is clicked. I used NSlog and checked that the views pushed on the stack are correct.
I read many threads here and saw that all of them use tabBarController and then it directly uses the navigationController and viewcontroller. Is this the only config that works ?
What if I want to have a tabBarController->tableViewController->NavigationController, isn't it possible? Can anyone please help?

WitchKing wrote:
So, if I understand this fully, I can initialize the navigation controller as soon as the any row is clicked and put the tableView I am on as my rootView for the navController. and also push the next view controller I want to see, on its stack. and present the navigation controller's view.
The usual way to implement a table view drill-down would be to make the first table view (or the content view which includes it) the root view of the nav controller. I.e. the table view's controller would be the root controller. When you do it that way all the objects will do what they were designed to do, and the code to push and pop subsequent views will almost write itself.
However there's no reason you can't do what you described, which (if I understood) would be to attach the nav controller's view to the hierarchy only after a row in the table is selected. Note however, that you couldn't then expect the nav controller to make that first transition from the parent table view. You would have to provide your own transition to the nav controller's view.
You bring up a good point in any case. I never explicitly answered the question in the Subject line of this thread.
does the NavigationController work only when placed in appDelegate?
No, there is no requirement to create a nav controller in any particular position of the view hierarchy. Unlike a tab controller, a nav controller need not be the root of the hierarchy (i.e. added directly to the key window). In fact you'll find several examples in the docs which show one or more nav controllers under some other controller.
there might be some problem with adjusting bar heights and etc though.
I'm not sure you proposed anything that would make it difficult to configure a table view. One nav controller issue that will impact table view position and size is the attempt to hide the nav bar which would otherwise appear above the table. I walked, unsuspecting, into this problem when I tried to help with another, currently ongoing thread that might interest you: [http://discussions.apple.com/message.jspa?messageID=9606805#9606805].
While I'm pasting links, this one is also relevant to your post: [http://discussions.apple.com/message.jspa?messageID=9607946#9607946].
Thank you for the very kind words about my posts. For some reason, this past few weeks I've been spending most of my forum helper time writing about table views and nav controllers. I sure hope I've been dispensing correct information. It's not like I have any knowlege of the internals. These puppies are black boxes to me, so I'm just going by the same docs you have and my own (growing!) collection of test beds.
\- Ray

Similar Messages

  • My touch pad does not work only when using Safari browser. The screen was grey. Help!

    My touch pad does not work only when I use Safari browser online. The screen was grey. No matter what I do, there is no reponse. Only the web address box works. What is this problem? I can use App Store and everything else fine.
    Someone please help.
    Thanks

    I would try:
    - Resetting the iPod:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Go to Settings>Safari and delete cache, history and cookies.

  • HT201401 Microphone works only when using the phone in hands-free

    Microphone works only when using the phone in hands-free (speaker on) mode.  Otherwise, only a constant buzz, accompanied by regular clicks (repeating 2-3 times/sec) can be heard by called persons or when recording a memo.  Makes Siri unusable, and cannot make private calls unless in a private area.  Does anybody have a fix for this?

    Okay I just solved the problem myself..
    For anyone that may have the same issue:
    The microphone used when recording video, is the little dot next to the jack on top of the iPhone 4S (maybe also iPhone 4, don't know). There was some dirt in this tiny little hole, and I simply just removed it with a very thin needle, and now it works great!

  • I have a new iMac with osx 10.8.3 i can not get my hp laserjet m1522nf scanner to work. The printer works but when in scanner mode the scanner does not show up

    I have a new iMac with osx 10.8.3 i can not get my hp laserjet m1522nf scanner to work. The printer works but when in scanner mode the scanner does not show up.I tried to install the newest hp driver for the printer but when I install the computer ca not find the printer.

    Repair permissions and restart your computer.
    Make sure you have the updated scanner drivers installed. 
    Install the gimp drivers:  http://gimp-print.sourceforge.net/MacOSX.php 
    http://support.apple.com/kb/PH11070 OS X Mountain Lion: Troubleshoot a network printer 
    http://support.apple.com/kb/PH11143 OS X Mountain Lion: Reset the printing system
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download
    What to do when you can't print

  • Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the

    Whenever I open the editor in Photoshop Elements 12 it does not work. When I try to click open in the application it does not do anything. None of the buttons work. When I open a photo using file at the top it opens but I cannot edit it or use any of the features on the left side.

    Hi Nealeh
    Thanks i think I got it working of a fashion.
    Except the replace colour, does not seem to end up with the colour I picked using the picker tool. Its as though it hads not replaced the colour but blended in the desired colour with the old incorrect colour!
    Buy trial and error picking not the right colour but close - which when mixed with the existing colour is close.
    Sorry I can't post the pictures as the Lingerie Mfg, has me under non disclosure.
    The scenario is:-  say a blonded mainly tanned model a high cut [at the hips] corsette style basque, with an ultra low bra line.
    Our dear model, has just come back from St Barts with a fabulous Tan, and equally striking bold Tan lines!.
    So we have great tanned legs, then the 'porcelain white band' where her swimsuit was.
    Likewise we have a tanned face, and arms, shoulders etc and a great tan on the top of the cleavage, then it stops, white band to the top of the ultralow cut bra line of the basque.
    She must have lived in like the most conservative bikini on the planet [50's style], for 2 weeks!
    Had she had a normal skimpy bikini on, no problem!
    If i don't solve it, she will get fired!
    Not a lack of interest in your post, but I was out, and tried to log in to this site; which I could do, on my iPad Air / 5 [whatever its the new one]. And tried to 'sign in' - but it just hung at the
    "Join Adobe Community" adobe sign in splash screen! with he little whell spinning around continuously!!!
    I have Safari on this iPad. Guess that is all it runs.
    So technology is not my friend today!

  • Why is Fault Policy working only when the BPEL's transaction is requiresNew

    Hi All
    I've defined Fault policy & fault bindings files for faults in my BPEL process. I'm using Oracle SOA Suite 11g.
    But the fault management framework is properly working only when the transaction property(bpel.config.transaction) of the BPEL is set to "requiresNew" in composite.xml
    When i modify it ot required, its not working, i.e. it is waiting for some period and erroring out. I could not manage these errors from the EM as we do for those in Fault Management Framework.
    Why is this behavior?
    I went thru this article, but could not understand it
    Transaction and Fault Propagation Semantics in BPEL Processes(http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/soa_transactions.htm)
    Can someone pls explain this.
    Regards
    RaviKiran.

    Please refer http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/soa_transactions.htm
    Thanks,
    S

  • HT4061 what does the apple icon mean when its the only thing that appears on the screen

    what does the apple symbol mean when its the only thing that appears on the screen

    That yur iPod is sick
    Try the following to fix:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • My iphone4's mic is not working. I can assure that my iphone4 is not on mute mode. The audio is working only when headset/handsfree plugged in.I tried reset my handset many times already but still nothing got success.what is the remedy to comeout from it.

    My iphone4's mic is not working. I can assure that my iphone4 is not on mute mode. The audio is working only when headset/handsfree plugged in.I tried reset my handset many times already but still nothing got success.what is the remedy to comeout from it.

    Try plugging the headphones in and gently wiggling them around for a few seconds. It may be that the sensor that tells the iPhone that headphones are plugged in has gotten stuck. If this doesn't work, they try a reset (hold down Sleep/Wake and Home all the way until the Apple logo appears on the screen).

  • HR (Planning database) Does the account type matter when suppressing rows?

    Does the account type matter when using the Advanced Options row suppression?
    The report will suppress all the 0 rows if the suppression is based on a column with a Planning acct type "Revenue", but it doesn't do anything if the suppression is based on a column with a Planning acct type "saved assumption."
    Just wondering if this is why I can't get the report to suppress the rows. Everything else seems to be the same in the report.
    Thanks in advance for any assistance on this.

    user11232292 wrote:
    Does the account type matter when using the Advanced Options row suppression? Yes. If you click on the Row > Advanced Options > Setup, you will notice the Account Type under the Suppress Row If drop-down.
    Can you tell us how your Conditional Suppression is set up? If this report consists of account types Revenue and Saved Assumption only, and your conditional suppression works just on Revenue account types, you can insert a second condition for the Saved Assumption account types.
    Let me know if this helps or if you have any other questions.
    Cheers,
    Mehmet

  • KPI -How does the periodicity works in SM

    Periodicity is @ Context level only? That means we have to define different contexts for weekly &monthly? That doesnu2019t fly good
    How does the periodicity works in SM..data entry as well as frontend display?

    Hi TR,
    When looking at a scorecard, you should see the status for all objectives and KPIs during the same time period. If you look at Revenue KPIs for just one week and Cost KPIs for the whole month, how can you assess how you performed in that month?
    This doesn't mean that the metrics in PAS cannot have different periodicities. They can! But when looking at data in the scorecard these periodicities will be converted to the scorecard periodicity. For example if you have monthly metrics and you are looking at scorecard data quarterly, the scorecard will show you the value for the 3 months of that quarter. Here, you should take care to define the proper time consolidation properties for the metric (it can be SUM, like in costs or revenue, AVERAGE, LAST, FIRST...).
    Likewise, if you have quarterly metrics and you want to see scorecard data monthly, then PAS does a breakdown of the value per months.
    Anyway, if you are looking to setup a weekly scorecard, that will likely include a different set of metrics that a monthly scorecard would. Weekly scorecards will problably include more operational metrics and will lack the strategic focus of scorecards with a broader time scope.
    Regards!
    Ricardo

  • Can I use Google Sync to transfer only my contacts from my IPhone 4 to my gmail acct? I don't want to sync info from Gmail to the IPhone. Can the sync work only one-way? I have 0 contacts on my gmail as I'll only use it as a back-up 4 my IPhone contacts.

    Can I use Google Sync to transfer only my contacts from my IPhone 4 to my gmail account? I do not want to sync info from Gmail to the IPhone. Can the sync work only one-way? I have 0 contacts & 0 calendar events on my gmail account. I opened the Gmail account specifically to for the Google Sync and wil only be using this account as a back-up for my IPhone contacts. Please Help!!

    You do realize that the SIM only contains account information for your wireless account.
    Moving the SIM from phone to phone does not cause any of your iTunes content, contacts, email, etc to magically appear on the device.

  • Does  the iphone 4s only use 4g or 3g to?

    Does  the iphone 4s only use 4g or 3g to?

    As far as I know, the phone uses the best available network. That's why you don't have the option anymore to switch off 3G network.
    If iPhone is connected to the Internet via the cellular data network, the (UMTS/EV-DO ), (EDGE), or (GPRS/1xRTT) icon appears in the status bar.
    The 3G (UMTS) cellular network supports simultaneous voice and data communications on GSM networks. For all other cellular connections, you can’t use Internet services while you’re talking on the phone unless iPhone also has a Wi-Fi connection to the Internet. Depending on your network connection, you may not be able to receive calls while iPhone transfers data over the cellular network—when downloading a webpage, for example.
    copied from page 148 iphone_user_guide 5

  • Does the pro works in a windows network environment

    I would like to purchase a macbook pro (15") but I'm not sure if it will work in a windows network environment.
    please help!! does the pro works in a windows network environment
    My situation:
    I work in a company 2500 employees, 3 locations, 7 sub-locations 1 sever. almost 80% of the locations is/will be wireless connected.
    need a reliable fast and tough laptop to support users on all locations.
    leonard

    It would be neat though, to be able to connect
    wirelessly on my Dell WinXP laptop over this dial-up
    connection at home, the few times I'm going to use
    it. So I thought eBaying one of those nice "old"
    hockey puck Airport Extremes with built-in 56k
    modem.
    That should work.
    From what I understood, the AE doesn't have a
    web-based configuration interface, like most
    broadband routers have, but one needs to configure it
    installing a software utility, right?
    Correct
    Being in a
    Windows only environment, will I be able to configure
    my Airport Extreme-to-be using the Windows software
    on
    <http://docs.info.apple.com/article.html?artnum=75422>
    Yes.
    http://www.apple.com/support/downloads/airport42forwindows.html
    ? Does anyone of you have any experience with this?
    Yes
    If so, could you reassure me that this is actually a
    feasible idea?
    Yes if does work.
    Does the AE dial-in automatically whenever you're
    generating traffic, by the way, or do you still have
    to establish the connection manually?
    You can configure it that way, but it is easier to use Jon Sevy's Java utility.
    Jon Sevy has a Java Utility for this purpose.
    You will need Java in order to run the utility

  • Why does the iPod duplicate songs when updating my playlists?

    Why does the iPod duplicate songs when updating my playlists? Also, you cannot use the "show duplicate songs" feature on the iPod - I suppose that is because it is not supposed to duplicate songs on the iPod. But, if that is the case - why does it do it?

    Try resetting your iPod, press and hold the power and the home buttons together approximately 15 seconds until the Apple logo appears. If that does not work try going into Settings>General>Reset>Reset All Settings. If that does not work try connecting to you iTunes library via the cable and un-sync the library from your iPod then sync the library.  For the next 2 options backup your iPod first, then do a Restore iPod from backup, if that doesn't work... As a last resort Restore your iPod as New. I too had the red circle and square after updating to 7.0.4 the last resort fixed mine, others have reported doing all the above, all have had reports of fixing the problem and not fixing it. Give it a try, hopefully one of these works, Good luck.

  • Transfer Rules: How does the mapping work?

    Transfer Rules: How does the mapping work?
    Is there a document out there that explains the following or can someone help clarify it for me. I have some confusion on what is really going on.
    When I create an InfoSource (IS_Test)  as a “Flexible update…”  and then “Assign DataSource”  (DS_Test) and I respond Yes, to the message “DataSource assignment DS_Test to InfoSource IS_Test Save”
    a) <b>Under “Transfer_Structure/Transfer_Rules”</b> in the InfoSource
    1)  the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (<b>Communication Str/</b>Transfer rules) eventually go?
    2)  the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test? The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    b) Under “<b>Communication_Struct.”,</b> in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    4. The left column is “<b>Communication Structure</b>”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    Thanks.

    Hi Caud,
    As Ashish pointed out, communication structure contains fields (infoobjects) that suppose to go to data targets. Which IO in CS to which IO in the data target will go (and what transformation of data may occur) is determined in URs of the data target.
    The transfer structure is the structure in which the data is transported from the source system into BW:
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/0e503c3c0d563de10000000a114084/frameset.htm
    In “Transfer_Structure/Transfer_Rules” in the IS, DataSource /Trans. Structure” tab, right part shows fields in the Datasource, the left part – fields in the transfer structure. There is also a transfer structure in R/3 for a given DS. Transfer structure in BW is created identical to the TS in R/3 during TRs activation.
    During data load data are transferred 1:1 from TS in R/3 to TS in BW.
    TS in BW corresponds to the PSA table structure.
    How data from PSA are transferred to the CS is determined in TRs.   
    The 3rd column (“Field”) (“Transfer Rules” tab, right part (Assigned InfObjct-field)), contains field names of the DS (TS); and the 1st column shows IO in the CS to which the DS field will go. So, it’s a mapping DS filed -> CS field.
    The left part (“Communication str./Transfer rules”) is always identical to the CS content. But the 4th column (“Tp”) shows possible data transformation during transfer from PSA to CS. If this column contains a yellow triangle then there is no transformation (Value of DS field will go to value of CS field). If there is a red cross, it means that no data for this CS field is supplied from a DS. You can click on this yellow triangle and choose: 1). Another field from a DS; 2). Constant; 3). ABAP routine; 4). Formula. So, here you can determine the data transformation. Moreover, there is a possibility to create a start routine (blank sheet icon at the top).
    And finally, here are the answers on your questions:
    Q:
    a)     Under “Transfer_Structure/Transfer_Rules” in the InfoSource
    1) the “Transfer Rules” tab, what are the fields found in the right column (Assigned InfObjct-field)? And where do the fields you enter in the left column (Communication Str/Transfer rules) eventually go?
    A: Right part shows a mapping between DS and CS fields. Left part shows CS fields and data transformation (TRs) during data transfer from TS (PSA) to the CS. These are fields in the CS that will go to data target and which are fed from a TS (DS).
    Q: 2) the “DataSource /Trans. Structure” tab, can I always assume that all the fields in the right column (DataSource) came from DS_Test?
    A: Yes, you are right.
    Q: The left column (Transfer Structure), in my test was exactly the same as on the right. Where do these fields eventually go?
    A: As I described, left and right parts are identical. These fields will go to CS.
    Q: b) Under “Communication_Struct.”, in the InfoSource
    3. the right column (ISource Fileds) where from those InfoObjects. if I am now creating my InfoSource. Where did they come from?
    A: these are fields from an IS template, the name of this template you can see above this right part.  Actually, during IS (CS) creation you can choose different templates and choose fields from them transferring them into the left part.
    Q: 4. The left column is “Communication Structure”, which at this point has no InfoObjects, if I move a couple of InfoObjects from the right to the left, where do these Objects in the left eventually go?
    A: these are fields of CS (left part) and as I said before they will go to data target.
    Q: 5. what is the relationship between the “Communication Structure” in 4 and 1? Or any relationship between a) and b) as a whole?
    A: CS in 4 just shows IOs that will be transferred to data target. CS in 1 also shows how values for CS IOs are to be fed and transformed.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

Maybe you are looking for

  • How to pass the data from a input table to RFC data service?

    Hi, I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input

  • Can you set up multiple iTunes account on 1 computer?

    We share a laptop, and want our own iTunes accounts. It doesn't seem to accept it. It will not allow it to 'verify.' Is it even possible to have multiple accounts?

  • Connecting iBook G3 as second monitor for iBook G4

    I want to know if (and then how) I can connect my iBook G4 (running on OSX (10.4.5)) to an iBook G3, ultimately connecting the iBook G3 to a data projector, so that I can use presenter tools in PowerPoint. iBook G4, iBook G3 Mac OS X (10.4.5) iBook G

  • Spotlight does't find everything in Mail.app

    Morning. If I want to find something in Mail.app and type the searches item into the search field of Mail.app, not all items containing the string will be found. But if I search for the same item with the system wide Spotlight search I find it. What

  • BOM Sales Scenario

    Hello Gurus I have the following sales scenario: Group of materials is sold as a Spares Kit. The header material code is a assortment of various sub-components. The sub-components are produced in-house with their respective costs( Got thru costing ru