Tab Bar Control and the Default "More" Behavior

I've got a client who wants an app with 8 tabs. The only problem is that they don't like the default "more" behavior with the tableviewcontroller containing the extra tab content. What they want is to hit "more" to see the next four tabs replace the first four and then to toggle back if it's hit again.
There are a few ways to do this, I guess. I could build a second viewcontroller/tabcontroller that comes on or leaves when "more" is touched. Is there a surer way of doing this? I'm sure I'm missing something basic, but I've googled my brains out on this one and just can't see it.

You could use one TabbarController with 8 ViewControllers, and rotate them when the More tab is tapped:
- (BOOL)tabBarController:(UITabBarController *)tbc shouldSelectViewController:(UIViewController *)vc {
if (vc == tbc.moreNavigationController) {
NSMutableArray *newVCs = [[NSMutableArray arrayWithCapacity:8] retain];
for (int i = 0; i < 8; i++) {
[newVCs addObject:[tbc.viewControllers objectAtIndex:(i + 4) % 8]];
tbc.viewControllers = newVCs;
[newVCs release];
return NO;
} else {
return YES;

Similar Messages

  • Mission Control and the dock -- strange behavior

    Go to Mission Control and click on an open application's dock icon:  Lion acts very erratically.  It might switch the right app.  It might switch to some other app.
    Note:  Have a couple of full-screen apps, like Safari, Mail or iTunes, open.
    This is driving me crazy.  Since the dock isn't displayed in full-screen apps, I tend to do the four-finger-up gesture to get to the Mission Control screen to get to the dock to switch to another open app.  I recognize that there are other ways to switch apps, but shouldn't this way work work, too?

    I feel your pain. "Over 250 exciting new features" was the promise. I, literally, have found ZERO new features that are useful. Yes, that's right---not a single one.
    And for the record....I am a long-time Apple fan, and Apple addict. My first computer was in 1985 and it was an Apple. Every computer ever since has been Apple. I've never had a complaint---until now. I'll just say it in plain English---Lion is GARBAGE. I have found absolutely, positively, nothing useful about it---zip, zero, nada! Now I'm trying to figure out how to get rid of this junk and put Snow Leopard back on. Apple should be ashamed---this is pitiful. And my computer has NEVER EVER crashed before (well, okay..I'm sure it has at some point over the last 26 years..but I don't recall when). But now my computer crashes at least 3 times per day. Un-fricking-believable.

  • When ever I customize the toolbar the open new tab sign that is the + sign near the lastly opened tab in the tab bar disappears and it remains so even after restarting Firefox.

    When ever I customize the toolbar, the open new tab sign that is the + sign near the lastly opened tab in the tab bar disappears and it remains so even after restarting Firefox. This happens only after updating to the new version 4.0.1 it never happened in the older versions 3.x.xx- checked it thrice. Thought it could be a bug and i didn't know where to report also don't have time and patience to search for the appropriate page so i'm reporting here for improving my favorite browser.

    You can find the New Tab button showing as a '+' on the Tab bar.<br />
    You can open the Customize window and drag the New Tab button from the Tab bar on another toolbar and it will become a regular toolbar button like the New Tab button that you have in Firefox 3 versions.<br />
    If you want the New Tab button at the far right end of the Tab bar then place a flexible to the left of it.<br />
    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

  • Every time I open a new tab I am sent to the Ad-aware Secure Serch page. I have downloaded the New Tab add-on and the NewTabURS add-on but neither of them work.

    Every new tab opens to the Ad-aware SecureSearch page. When a new tab was opened I used to get a page with my most used sites. I have tried to find and remove this program but nothing I have used will find it. I have downloaded some add-ons to change what occurs when a new tab is open but none of these will replace the Ad-aware search page. Can you tell me how to get rid of this. this is the address of the new tab page now:
    securedsearch.lavasoft.com/?pr=vmn&id=webcompa&ent=hp_WCYID10088_cnet_141226

    Separate Issue;
    Your System Details shows;
    Installed Plug-ins
    Adobe PDF Plug-In For Firefox and Netscape "9.5.5"
    Adobe PDF Plug-In For Firefox and Netscape 11.0.8
    Having more than one version of a program may cause issues.
    Bookmark and use this;
    '''[https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Mozilla Search Reset]''' {web link}
    This add-on is very simple: on installation, it backs up and
    then resets your search preferences and home page to their
    default values, and then uninstalls itself. This affects the
    search bar, URL bar searches, and the home page.
    '''[https://addons.mozilla.org/en-US/firefox/addon/settings-guard Settings Guard for Firefox]''' {web link}
    Detects and resets changes to settings that are frequently done
    by add-ons and application installers.

  • If Firefox 20 is in Private Browsing mode then a possible persona is disabled and the default theme is used - oh god, no - what can I do to keep both?

    Cor-el answered on the 4.4.13: " If Firefox 20 is in Private Browsing mode then a possible persona is disabled and the default theme is used. So you will have to make a choice."
    Can I go back to an older version of FF? I really do not want to choose. Will that problem be fixed in FF 21? I really love Firefox, it has always been my favorite browser - but giving up the Personas will be hard and I don't understand why I have to...
    How do I reinstall an older version of FF? Is there another solution?

    Remember to use the per window Private Browsing when you are doing banking or other confidential / financial work.
    One option is now
    * '''Firefox Button -> New Private Browsing Window'''
    * (Linux / xp File -> New Private Browsing Window)
    * see [[Private Browsing - Browse the web without saving information about the sites you visit]]
    You may even benefit from saving your History.It improves the functionality of the location bar / ''awesome-bar ''
    *[[Awesome Bar - Find your bookmarks, history and tabs when you type in the address bar]]

  • Why is the Tab Bar inconsistent when the window is maximised?

    When maximized, the '''Tab Bar''' is on its own bar and shows '''empty title bar''' above it, leaving a '''gap''' [http://www.flickr.com/photos/7837447@N06/5560372501/in/photostream/lightbox/ (See sample)] . On opening new window, the Tab Bar is on the Title Bar, getting rid of the unnecessary space [http://www.flickr.com/photos/7837447@N06/5560372635/in/photostream/lightbox/ (See sample)] . What causes the extra space in the former window?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Can not update tab if its not the default sub-tab.

    Can not update tab if its not the default sub-tab.
    JDeveloper Version 10.1.2.1.0 (Build 1913)
    Hi. I have a problem with a “lovOpenWindowAction”
    The UIX is created with a master UIX and have several sub-tab that is included as UIX-pages.
    The lovOpenWindowAction lies in the included UIX-page
    The sub-tab I have a problem with has a table with users. Then I have a “Create New” button than I want to click on and select a new user that should be included in the table in the sub-tab.
    When I click on the button I open a LOV-window. Here I select the user that I want to add.
    In the LOV Action-class I save my new value in the database. Then in the method “onLovUpdate” I update the iterator with the new values from the database.
    But in my GUI the subtab is not updated until I click on it.
    But if I make the subtab the default subtab then it all works just fine and the GUI is updated directly.
    Here is the code for the tableAction in the subtab. This code lies in an included UIX-page. Target is the table id.
    <tableActions>
    <button text="Create New" id=" createNewRollperson" accessKey="N">
    <primaryClientAction>
    <lovOpenWindowAction destination="FiskeRollpersonerLOV.do"
    source=" createNewRollperson "
    targets="joinedRollpersfiskeer message"/>
    </primaryClientAction>
    </button>
    </tableActions>
    Here is some code from the master UIX-page
    <subTabLayout id="flikar">
    <subTabs>
    <subTabBar selectedIndex="${ui:defaulting(param.index,0)}">
    <contents>
    <link id="resorFlik" text="Resor"
    disabled="${sessionScope.fiske.id == null}"
    selected="${(param.source == 'resorFlik') or empty param.source}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="resorFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    <link id="rollpersonerFlik" text="Rollpersoner"
    disabled="${sessionScope.fiske.id == null}"
    selected="${param.source == 'rollpersonerFlik'}">
    <primaryClientAction>
    <firePartialAction event="changeTab" targets="flikar globalHeader">
    <parameters>
    <parameter key="source" value="rollpersonerFlik"/>
    </parameters>
    </firePartialAction>
    </primaryClientAction>
    </link>
    </contents>
    </subTabBar>
    </subTabs>
    <contents>
    <switcher childName="${param.source}"
    defaultCase=”ResorFlik">
    <case name="resorFlik">
    <include node="${ctrl:parsePage(uix, 'includes/ResorFlik')}"/>
    </case>
    <case name="rollpersonerFlik">
    <include node="${ctrl:parsePage(uix, 'includes/FiskeRollpersonerFlik')}"/>
    </case>
    </switcher>
    </contents>
    </subTabLayout>
    What am I missing?? I can’t have this subtab as the default subtab! Please help me with a solution!

    hi,
    Change the condition type to manual entry.
    or
    for example delivery costs will be different at the time of PO and actual delivery costs then at the time of invoice we select planned delivery costs and settle them first with the actual delivery cost.
    Thanks & Regards,
    Kiran

  • Thereis no sound on my macbook air. I have checked the volume and mute controls and the internal speaker are selected.  any one any ideas please.

    there is no sound on my macbook air. I have checked the volume and mute controls and the internal speaker are selected.  any one any ideas please.

    Hopefully one of these steps should solve the problem.
    1. Remove the headphone.
        If you see red light in the headphone port, plug the headphone
        in and out of the port 5 or 6 times to flip the microswitch inside.
        Sound output may be stuck in the digital mode.
    2. Reset PRAM.  http://support.apple.com/kb/PH4405
    3. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".
    4. Applications > Utilities > Audio MIDI Setup
        Audio Devices window
        Side Bar
        Click the Built-in Output.
        Under Mute any of the boxes checked? If so, uncheck it.
    Best.

  • OutlineField and the Default Button

    Hello all,
    We are currently using the Forte 3.0.G.2. I have recently come
    across the situation where I am unable to understand the behavior of the
    default button. The situation is this:
    Whenever I am including the Outline Field as one of the widgets in
    any of my windows that particular window will not respond to the default
    button. I am attaching the pex file so you can run the test windows and see
    the problem.
    Can someone please tell me if I am doing something wrong or is this a
    known/unknown bug?
    <<DefaultBtn.pex>>
    Thanks in advance.
    Kamran Shafi
    Systems Engineer
    EDS Medi-Cal XIX
    Phone: (916) 636-1093
    Email: [email protected]

    Hi Kamran!
    What happens is that when the focus is on outline fields, the enter key
    fires a doubleclick event and ignores the default button. So you need to
    capture the doubleclick event and do whatever you want your button to do.
    Here's a quote from Forte support
    "Unfortunately, this is a documentation issue. The IsDefaultButton only
    works when focus is on a simple DataField, because in all of the complex
    fields, including TextField, TextEditField, TreeView and ListView as well
    as OutlineField, the Enter key has a separate and defined action. On
    Tree/ListViews and OutlineFields that is DoubleClick.
    You COULD catch the DoubleClick on the OutlineField and post a click event
    on the default button, however I'd encourage caution with that, since this
    could cause some unexpected behavior if someone were counting on the Enter
    (or a mouse double-click) to behave in our standard way."
    Andrew Small
    Enterprise Distributed Solutions National Practice
    BORN Information Services
    [email protected] <mailto:[email protected]>
    -----Original Message-----
    From: Shafi, Kamran [mailto:[email protected]]
    Sent: Thursday, July 08, 1999 12:49 PM
    To: [email protected]
    Subject: OutlineField and the Default Button
    Hello all,
    We are currently using the Forte 3.0.G.2. I have recently come
    across the situation where I am unable to understand the behavior of the
    default button. The situation is this:
    Whenever I am including the Outline Field as one of the widgets in
    any of my windows that particular window will not respond to the default
    button. I am attaching the pex file so you can run the test windows and see
    the problem.
    Can someone please tell me if I am doing something wrong or is this a
    known/unknown bug?
    <<DefaultBtn.pex>>
    Thanks in advance.
    Kamran Shafi
    Systems Engineer
    EDS Medi-Cal XIX
    Phone: (916) 636-1093
    Email: [email protected]
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Voice Control and the main menu keep popping up

    my ipod touch 3G has some interesting problems. the voice control and the main menu eep poping up and there are seems like nothing i can do. i already tried rebooting, but it didn't help. any ipod expert can help?really appreaciate.

    hi,
    Can you do a right click > properties on the Network Controller and on the details tab > dropdown menu, copy the hardware ID and post it here to find out the model/maker of the wireless card.
    Guide:
    Windows 7: Hardware Identification
    Btw, were you using the ethernet cable a while ago when you downloaded the WiFi driver on the Y510p? If yes, can you try to reinsert it in and ensure fully contacts the ethernet (it'll usually make a click sound). When finished, press the Windows Key+R then type ncpa.cpl and ensure that the Ethernet connection doesn't say disabled or Network Cable Unplugged.
      - Sample screenshot
    As for the other devices that has yellow exclamation marks, these drivers should fix it (you may download these on another PC and install it on the Y510p).
    SM Bus Controller:
    Intel Chipset Driver
    v9.4.0.1017
    Universal Serial Bus (USB) Controller:
    USB 3.0 Driver
    v2.0.0.102
    or
    Genesys USB Mass Storage Device
    v4.3.0.3
    Unknown device:
    Lenovo Energy Management
    v7.0.3.4
    Regards

  • [svn:fx-trunk] 12963: Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.

    Revision: 12963
    Revision: 12963
    Author:   [email protected]
    Date:     2009-12-15 10:34:20 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Add IDebuggerCallbacks.terminateDebugTarget(), so that the debugger can override the default termination behavior.
    Modified Paths:
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/DefaultDebuggerCallbacks.ja va
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/IDebuggerCallbacks.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSession.java
        flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.java

    Gordon, it looks like its been a while since you made this post.  Not sure how valid it is now...   I am particularly interested in the LigatureLevel.NONE value.  It seems that it is no longer supported.
    How do I turn of ligatures in the font rendering?
    My flex project involves trying to match the font rendering of Apache's Batik rendering of SVG and ligatures have been turned off in that codebase.  Is there any way (even roundabout) to turn ligatures off in flash?
    Thanks,
    Om

  • I lost my search bar, File bar, Bookmarks, and the one where you drag stuff onto, also my Norton bar because i closed them then it would not let me turn them back on!!! Help!!!!

    I lost my search bar, File bar, Bookmarks, and the one where you drag stuff onto, also my Norton bar because i closed them then it would not let me turn them back on!!! Help!!!!

    '''<u>Menu Bar</u>''' (File, Edit, View, History, Bookmarks, Tools, Help) , see: <br/>
    http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    * Press F10, Menu bar will appear, click View, click Toolbars, click Menu bar
    * Press ALT, the Menu bar will appear, click View, click Toolbars, click Menu bar<br />
    * Hold down the ALT button while pressing V+T+M
    '''<u>Navigation Toolbar</u>''' (Back/forward, Refresh...Home, URL/Location Bar, Search Bar): Do one of the following
    #click View > Toolbars, click on "Navigation Toolbar" to place a check mark, OR#right-click the Menu Bar, click "Navigation Toolbar" to place a check mark. See: <br />
    #*https://support.mozilla.com/en-US/kb/Back+and+forward+or+other+toolbar+items+are+missing
    #*http://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar
    #*http://kb.mozillazine.org/Toolbar_customization
    #*http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    #*http://support.mozilla.com/en-US/kb/Navigation+Toolbar+items
    '''<u>Bookmarks Toolbar</u>''': Same procedure as Navigation Bar except click "Bookmarks Toolbar".<br />
    '''<u>Status Bar</u>''': click View, click Status Bar to place a check mark<br />
    '''<u>Full Screen Mode</u>''': If you have no Toolbars or Tab Bar: Press F11 (F11 is an on/off toggle). See: http://kb.mozillazine.org/Netbooks#Full_screen<br />
    Also see: http://kb.mozillazine.org/Toolbar_customization_-_Firefox#Restoring_missing_menu_or_other_toolbars
    <br />
    You need to update your plugins. It is important to keep them updated due to continuing security fixes and improvements in those plug-ins:
    * Shockwave Flash 10.1 r82
    * Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave Flash'''
    #*Use Firefox to Download and SAVE to your hard drive from one of the links below; '''<u>the links take you directly to the download and you avoid the "getplus" download manager and "extras" (i.e., toolbars, virus scan links, etc.) on the main Adobe page.</u>'''
    #*SAVE to your Desktop so you can find it
    #*After download completes, close Firefox
    #*Click on the file you just downloaded and install
    #**Note: Vista and Win7 users may need to right-click the installer downloaded and choose "Run as Administrator"
    #**Note: Most browsers other than IE will also get updated with this one download
    #**Note: To update IE, same procedure '''<u>but use IE</u>''' to go: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    #*After installation, restart Firefox and check your version again.
    #*'''<u>Download links and other information</u>''':
    #** https://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash
    #** '''<u>or</u>''' you can download, save, then run the manual installers for IE, then for Firefox (and all other browsers) from here: http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #* Also see: http://support.mozilla.com/en-US/kb/Installing+the+Flash+plugin
    #* Also see (if needed): http://kb2.adobe.com/cps/191/tn_19166.html#main_Uninstall
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions: http://www.java.com/en/download/faq/remove_olderversions.xml
    #* After the installation, start Firefox and check your version again.

  • HT1379 My iMac won't start up. I turn on the power button the start up screen appears. The apple symbol shows up, the loading shows up, the loading circle starts. Then the loading bar disappears, and The loading circle and apple logo disappear and power i

    The power comes on. Screen turns white. The start up sound plays, the apple symbol come up the loading bar show up but do not show any sign of loading. The loading circle appears and spins. Then the loading bar disappears and the. The screen goes black and power goes off. I've tried unplugging, command alt escape, and command alt p r,  no effect.  Any other suggestions???

    OS X v10.6- Gray progress bar appears under Apple logo during startup
    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
            the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.,

    Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.

    Absolutely!
    Install Splashtop2 on the PC and enable it to be controlled or ran from iPad or Reflection to simply allow iPad to serve as PC unwired monitor. With Splashtop and an Apple TV connected, you use the smartboard as usual, yet the PC and iPad can see the same content. The impaired child can even interact with the Smart Board via the iPad as if he were writing directly on the big screen. Erasing functions can be done by touching the Smart Board manual controls. Several variables are in play that cause this lack of functionality:
        Apple won't permit PC software that infringes its proprietary apps.
        Smart Board companies refuse to develop iPad apps because they feel threatened and are being replaced by iPads
        School districts think Apple TV is meant for copyright infringement and could expose them to safe harbor lawsuits
        Network administrators make it impossible to login Apple TVs because they don't want the streaming occurring
        Classrooms are not able to keep up with the technology of using the iPad
        Clicker companies refuse to play with iPad because they see it as a potential threat to their core business clients
        Apple is not working as hard as it could to exploit its capabilities in education, thus losing money in iPad sales
    The bottom line is that we educators and technology developers are hurting our childern with petty conflicts.

  • When I try to open an image by double clicking on it in Bridge, I get a message telling me to log in to Creative Cloud.  I am running CS6, and the default should be to open files in Photoshop 6 or in Adobe Raw (if it's a Raw file).  I don't want to log in

    When I try to open an image by double clicking on it in Bridge, I get a message telling me to log in to Creative Cloud.  I am running CS6, and the default should be to open files in Photoshop 6 or in Adobe Raw (if it's a Raw file).  I don't want to log into CC since I am not a subscriber, and this means that I have to work around, and go  back to Bridge, and tell it to open the file in Adobe RAW.  However, this does not work for older psd files which for some reason cannot be opened in RAW.  How do I return to the process of simply allowing RAW files to open automatically in Adobe RAW, and simply right clicking on the image in Bridge to bring up the option of opening it in Photoshop?

    <moved from Adobe Creative Cloud to Bridge General Discussion>

Maybe you are looking for