[iPhone] Not hiding cell accessories when table is in editing mode

I've got a UITableView, and I want the cells to show disclosure indicators when the table is in editing mode... is there a way to do this? I've implemented this line
- (UITableViewCellAccessoryType)tableView:(UITableView *)aTableView accessoryTypeForRowWithIndexPath:(NSIndexPath *)indexPath {
return UITableViewCellAccessoryDisclosureIndicator;
but the accessories are still hidden. Is there a property of the table I'm missing somewhere?
Thanks!

You need to set
cell.hidesAccessoryWhenEditing = NO;
for the cell(s) you want in your
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
Andreas

Similar Messages

  • IPhone not recognized in iTunes when using WiFi sync

    I have found that my iPhone is frequently not recognized when using WiFi sync.  The only way to sync my phone when that happens is to use the old fashioned way--connect it to my computer via USB.  Then the phone is recognized and syncs fine.  The device shows even when I take my iPhone off power.  But when I close iPhone and later reopen it and plug in my iPhone to power, often it is not recognized.  I've tried everything I can think of but nothing works.
    Any ideas?
    talbryn

    I am having the same problem.  It was working just fine and then just mysteriously stopped showing up in iTunes (my iPad still shows up & syncs via wifi just fine--it is just my iPhone).  Someone please reply soon, this is driving me nuts! Thanks in advance!!

  • IPhone not compatible with device - when it's not connected to anything

    When travelling, I use my iPhone as my alarm clock. So I put it on Airplane Mode so it doesn't buzz when e-mails or calls come in. Last night, it was on Airplane Mode, wifi was off and so was Bluetooth. It wasn't plugged into anything.
    Early this morning, I was half asleep but noticed it got brighter in the room. The phone had lit up. It had an error message: "This device is not compatible with the iPhone" (or some similar). I think that's strange, because the iPhone wasn't connected to anything.
    Later on, I turned off Airplane Mode and got ready for work. I got the error message again - but still, it wasn't connected to anything (and still no wifi or Blutooth, both turned off).
    It wasn't the normal incompatible error message I've seen when actually connecting the phone to a device, the one that asks if you want to go into Airplane Mode.
    Anyone experienced this before? I did a reset once, and it did it one more time (this time with the longer error about switching to Airplane Mode), but hasn't done it since then.

    the same thing happened to me, my iphone was in my pocket when i was at the movies and my drink had been dripping from condensation onto that pocket, when i got out my pants were wet in that spot and my iphone was wet. I showed that message too but when it dried out it stopped doing that.

  • Why does my iphone not show in tunes when on same wireless network

    why does my ipad, and my two iphones not show in itunes on the same wireless network

    It could be for any number of reasons. Since you do not identify the computer OS you use, here is information for both.
    Windows:     http://support.apple.com/kb/TS1538
    OSX:     http://support.apple.com/kb/TS1591

  • Events created on iPhone not syncing to iCal when I bought new Leopard iMac

    that pretty much says it all... i had a powerbook g4 and no problem syncing. bought new iMac with Leopard. just noticed that events created on iPhone not showing up on iCal. Ideas?

    Ok, this will work.
    1. Turn off .Mac Sync in System Preferences.
    2. Open iCal and back up your calendar. File>Back up iCal. +(Just to be safe.)+
    2. In iCal, export all your calendars as file(s). File>Export. +(Note: You can safe these to folders that are in a similar order to the calendar groups that you might have for ease in importing them back in later.)+
    3. Delete all your calendars from iCal. +(Note: You will need to create a new "temp" calendar as iCal requires at least one calendar. *Also, it is very important to save the URL's of the calendars that you subscribe to for later importing.*)+
    4. Import the calendars you just exported. +(Note: First add a new calendar to iCal and use the same name as the calendar that you are importing. All the data from your exported calendar will be added to your new calendar.)+
    5. Open iTunes sync with iPhone, telling iTunes to reload all the info on my iPhone +(pertaining to iCal)+ INFO Tab>Replace information on this iPhone>check Calendar.
    It's a pain and takes a while if you have a number of calendars, but it will work.
    Good luck!

  • How to know when page is in edit mode ?

    Hello,
    I've written a custom item (plsql) and want to display somthing different when the page is in edit mode (url contains mode=16). I've tried to get the GETQUERY context var but it only displays the pageid ... the rest of the url is missing. Is there another var or some other api I can use to get this information ?

    I have already checked for VA02 -> Line item -> Environment ->changes.  It show changes related to fields available in VA02.
    But it is not showing changes related to Serial number change.
    I have also checked with table CDHDR, CDPOS. But the data related to change in serial number of SO line item is not captured in those tables also.
    Is there any other way to know?

  • JQuery-Script only working when WebPart is in Edit Mode

    Hi there,
    so I developed some custom functionality with SPServices that works fine in my dev-environment. Now Im trying to deploy it in the productive environment and Ive struggled for several hours but cant get it to work.
    This is my code: http://pastebin.com/DvStqiet
    I insert the code inside of a simple form webpart.
    When the webpart / website is in edit mode, the code executes fine.
    When its not in edit mode, the jquery functions work, but the spservices functions do not seem to work. I get the error "Das Objekt unterstützt diese Eigenschaft oder Methode nicht." (in english its something like "The object does not support
    this property or method."). Line number of the error then points to the first occurrence of $.SPServices(). (Firefox Screenshot of Console: http://imgur.com/QvozF38)
    I searched nearly the whole Internet and tried different solutions.
    I wrapped the $(document).ready(function() {}) like this: ExecuteOrDelayUntilScriptLoaded(function() {}, "sp.js");
    And I tried writing the code directly to the webpart page via sharepoint designer. It does not work then either and I even cant enter edit mode.
    I found out, that the masterpage-Template is also referencing a jQuery-Instance (v 1.4.2), so I tried disabling the reference in my script, but the result is the same.
    I also tried referencing the scripts via absolute URLs, without success.
    The references to the scripts seem to work (I can click them in sharepoint designer). I just dont know why it is not working. If you have any further suggestions or have any idea how to tear this problem down, or find out whats maybe causing it, please let
    me know because Im really clueless right now...
    Thank you very much!

    OK it seems like I got it to work with the following:
    I just wrapped my entire code inside of
    (function($) {
        // Your usual jQuery code here using `$`,
        // this code runs immediately
    })(jQuery);
    and now it works. Im really happy, that it finally works... Seems like some other javascript (maybe referenced by the master template?) is overwriting the $.

  • Table Control in Editable mode

    Hello All,
    I have created an infotype which has a table control. But all the table control lines are in non-editable mode. I would like to have all the lines in editable mode.
    Kindly help out.
    Regards,
    shails

    If your internal table contains no record and when you are refering to the table control then all the lines will get disabled.
    Now you will be knowing the number of lines your table control displays in singe page...say 10 lines.
    So initially in the PBO append 10 initial lines to your itab. then set the property lines of the table control to the total lines of internal table.
    Now in pbo capture the user command page down and append 10 initial lines to your itab.
    Hope you got the idea.
    Now if your itab already has some records , then just set the lines as total record count of your internal table.
    Also change the property in the screen attributes for each field of the control

  • Premiere cs4 exporting audio problem when I use desktop editing mode

    Hi.... I recently use a desktop editing mode when I create my new sequence ! I have a 480X270 16/9 ratio.... so when I export my sequence FLV in encoder... everything is ok for audio setting ... but when I put my movie on the Internet or just playback in adobe media player, I have no sound !!!! I don't know what is the problem....
    Thanks for help me !!!!

    Thanks for your quick respond and support !!!!!
    1- multiplexing = FLV
    2- audio default : codec mpeg layer III
    3 - i'm on pc
    4 - I use a jcplayer for my website and in local playback i use adobe media player
    I think that everything was ok in audio setting if i see my setting, but when i use a default sequence setting and I export I have sound.... when i use desktop sequence setting i lost my sound when i export !!!!!!
    is very strange !!!!
    Thanks again

  • Index not used on view when table stats exist

    Hello,
    I would be grateful if someone comes with ideas on the following problem I'm currently facing.
    I have a table with XMLTYPE data type column:
    sql-->desc ACFBNK_STMT008
    RECID     NOT NULL     VARCHAR2(200)
    XMLRECORD XMLTYPE
    I have a view V_ACFBNK_STMT008 on that table, in which the view columns are defined as extracted tags values from the XMLTYPE field, e.g. for the view field N_BOOKING_DATE:
    numcast(extractValue(xmlrecord,'/row/c25')) "N_BOOKING_DATE"
    (note: numcast is just a simple function that returns TO_NUMBER of its input argument)
    I have also a function-based index on this field of the table:
    CREATE INDEX train4.NIX_ACFBNK_STMT008_C25
    ON train4.ACFBNK_STMT008("TRAIN4"."NUMCAST"(extractValue(xmlrecord,'/row/c25')))
    And so, I'm executing on the view the following SQL statement:
    SELECT RECID FROM V_ACFBNK_STMT008 WHERE (N_BOOKING_DATE > TO_NUMBER('20070725'));
    Now, the problem comes: when statistics exist on the view base table (that is ACFBNK_STMT008) then the above statement is not using the index and is making a "table access full". When I delete the statistics for the table then the SQL runs fast with an "index range scan".
    Which is further strange - when I change the ">" operand with a "=" the SQL statement correctly captures the index regardless of whether or not statistics exist.
    I've tried to manually rewrite the SQL and include the "numcast" function in it:
    SELECT RECID FROM TRAIN4.V_ACFBNK_STMT008 WHERE ( N_BOOKING_DATE>train4.numcast(TO_NUMBER( '20010725' ) ));
    And in this way the index is used OK even with statistics existing!
    But regretfully I don't have a way to change the application and the SQL, so the only things I can change is the view and/or the index.
    Thank you in advance,
    Evgeni
    P.S.
    I've tried gathering statistics in both the following ways but still the problem persists:
    sql-->analyze table train4.ACFBNK_STMT008 compute statistics;
    sql-->exec dbms_stats.gather_table_stats(ownname=>'TRAIN4', tabname=>'ACFBNK_STMT008', CASCADE=>TRUE, partname=>NULL);

    Oh, and I forgot to mention: I cannot change the view definition as well (for example, to remove the "numcast"), since every now and then the application would recreate it automatically with the same code. :(

  • IPhone not syncing with iTunes when plugged in

    For the iTunes Wi-Fi Sync, the iPhone is supposed to automatically sync with iTunes over Wi-Fi when plugged into a power source. This is not working for me. The iTunes is connected to my phone over Wi-Fi, and the Settings are all approiate. However, the iPhone will not sync automatically; I need to manually start the sync from either iTunes or my iPhone. It's not working automatically. Does anyone know of a fix? I have a black iPhone 4S 16GB on Verizon.

    In iTunes,go to Help > Diagnostics.
    Run tests
    If the issue is device not found go to http://support.apple.com/kb/TS1363?viewlocale=en_US
    I ran through process to update drivers now phone is charging and recognised by my computer.
    Also if need be go to http://support.apple.com/kb/TS1567

  • Iphone not recognized in iTunes when computer is connected to the Internet

    I hope someone can help me with this.
    When you log onto the computer and connected to the internet, iTunes takes almost a full minute to open and when I plug my iPhone in, the computer dings like it sees it, but it never shows up in iTunes. HOWEVER, if I am NOT connected to the internet, iTunes opens in 4 seconds and the iphone is recognized in iTunes.
    So basically iTunes and iPhone only really works if there is no internet connection.
    Any one hear of anything like this before?
    Thanks.

    No, hadn't tried that. Did, but it didn't work... the loading bar made it a little bit further however it still froze. Not sure if this will help (or even what this means) but this is the error message it displays in the report to send to apple (however it won't even allow me to send it)
    Date/Time: 2008-01-03 19:08:39 +0100
    OS Version: 10.5.1 (Build 9B18)
    Architecture: i386
    Report Version: 4
    Command: iWeb
    Path: /Applications/iWeb.app/Contents/MacOS/iWeb
    Version: 2.0.2 (200)
    Build Version: 2
    Project Name: iWeb
    Source Version: 3920000
    Parent: launchd [62]
    PID: 721
    Event: hang
    Time: 7.00s
    Steps: 43

  • IPhone not remembering custom spelling when typing.

    Since 2.0 came out the iPhone no longer remembers custom words. Before, when you typed a word, such as a place name for example, that the iphone incorrectly thought was misspelt you could simply tap on the word and it would add it to the dictionary. Sometimes it will remember for the current session but as soon as you go to a different app or out to home and back it seems to forget. This functionality has been broken since 2.0 on my iPhone and my iPod touch and 2.1 does not seem to fix the problem either. Am I doing something wrong? Is there another way to get it to remember custom words? Any help would be appreciated.

    I have the same problem too, but I dont know if it's because of 2.0; i have the 3G one and now i'm on 2.1
    No matter how many times you type "wat", it will always suggest 'War', 'Way' or something. Just irritating when they claim it is suppose to do that. And it's not just "wat", there's liek a bunch of words i always use, but never got stored at all.

  • Why does the image not open in Elements when I opt for Edit in Photoshop Elements 11 from the Photos tab in Aperture?

    With an image in Aperture, when I got Photos one of the options offered is "Edit in Elements Photoshop 11", but although selecting this opens Elements, there is no image and it is necessary to open the image in the normal way from within Elements.  Other plugins, e.g. from Topaz work superbly from within Aperture.  I am puzzled to know the reason, and in particular if there is any setting in either Aperture of Elements that need to be attended to.  I would be very grateful for any suggestions.
    Barry Willcock

    Hi Frank, and many thanks.   I can now get the picture into Elements, and work on it.  However, when I have finished, I save it (giving it another name that I can recognise if the amendments are slight) it puts the file back into the same folder, but I have then to import it into the Aperture library in order to see it back in Aperture.  Not a big problem, but an interesting one.
    Again, many thanks
    Barry

  • Workflow Error when PO is in Edit mode

    Hi ,
    Please suggest me a solution for the following scenario :
             PO is subjected to workflow as per the Release Strategy.
             But when someone is Editing the PO while the Workflow user is executing the Workitem for PO Release,I am receiving a error saying that PO is blocked by another user and the workitem disappears from users inbox.How to avoid this situation.
    Thanks
    Srinivas

    Hi,
    when someone is Editing the PO while the Workflow user is executing the Workitem for PO Release,I am receiving a error
    saying that PO is blocked by another user
    Same PO can not be edit by more than one person, so only this happening, This is the std. feature.
    Regards,
    Surjith

Maybe you are looking for

  • Array questions

    Hi, everyone. I'm writing a lab program which counts the number of occurances of English letters in a line of English text. The program has the following requirements Assume that we input only lowercase English text The program should be able to coun

  • Error when using DBMS_XMLDOM package

    Hello, I have created a set of triggers that use the DBMS_XMLDOM packages. These triggers were created on a Win 2k install of 9.2.0.2.1. A brand new user was created and a specific set of permissions granted. The permissions were: GRANT CONNECT, RESO

  • Error when displaying OrgChart in ESS

    Hi ALL One of our employee is getting error "500   Internal Server Error" when he trying to display the OrgChart in ESS. Please find below the exception : com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Invalid personnel number      at com.sap.pcuigp

  • Connecting my Pro to my HD TV

    What is involved in connecting my Mac Pro to my Samsung HD TV?

  • Final Cut missing from Studio 5 installation

    It took over an hour to install Final Cut Studio (purchased 5 academic licenses) and lots of disk shuffling. At the end of it all, the Final Cut application itself is missing. Or is it me that is missing? Something?