How to disable delete button of UITableView automatically appears when it i

Hi,
My app has a UITextField on a UITableViewCell, and having a trouble with editing text in the UITextField.
When I am going to edit the text, first I tap the UITextField, then a loupe appears, and it should follow the move of my finger.
But when I move my finger intending to move the loupe, UITableView misunderstands the gesture and show a delete button on the table view. And once the delete button appears, it blocks control to the loupe and the loupe freezes.
As table row can be deleted just by turning UITabeView's editing YES, there is no need to display delete button in my application when the table view is swiped, and I need to disable this function of UITableView.
Are there any ways to prevent delete button from appearing?

Its in my TableViewController which also acts as my delegate method.
// FavouritesViewController.h
#import <UIKit/UIKit.h>
@interface FavouritesViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
IBOutlet UITableView *favouritesTable;
@property (nonatomic, retain) UITableView *favouritesTable;
the "myTable" reference is the reference to my tableview. So with the example above I have the following in my FavouritesViewController.m:
#pragma mark Table Edit Delegate Methods
- (void)setEditing:(BOOL)editing animated:(BOOL)animated {
[super setEditing:editing animated:animated];
[favouritesTable setEditing:editing animated:YES];
Hope this helps. Regards, Michael.

Similar Messages

  • How To Disable Delete Button on AR Customer Search

    hi Guru,
    How to Disable the Delete Button of AR Customer Search Form.

    Hi;
    Duplicate post, please make post once
    How To Disable update Button on AR Customer
    Regard
    Helios

  • How to disable delete button in a form

    HI
    can anyone show me the procedure to disable the delete button from oracle forms seeded and custom form oracle applications 11i. We are on form patch set level 18
    Regards

    Hi ,
    there are various ways of doing it..
    You can try as the previous post says or also you can try When new block instance trigger and disable the item
    using set_item_property , it all depends on when and how you want to diable that item.

  • How to disable the internet explorer 9 automaticly installation when installing Acrobat XI Pro

    Hi,
    I do have a Win7 WS with IE8 (and I dont want to upgrade to Internet Explorer 9). When I do install Acrobat XI Pro, automaticly IE 9 will be also installed. How can I stop this?

    Acrobat installers do not install other products.
    Ben

  • New owner of IPod ....how do I delete the songs that automatically appeared

    DELL   Windows XP  

    What songs? Did you buy this new? No new iPod comes with songs pre-installed. If your has, you might consider asking the seller how this has occurred and your iPod may not be new (a customer return perhaps?).
    Anyway, to start from scratch, restore it.
    See: How to restore the iPod to factory settings.

  • Disable delete button in Table Maintainance Generator

    Hello all,
      How to disable delete button in Table maintainance generator???

    Hi Maya,
    It is very interesting question. If you debug your table maintenance screen, the program of table maintenance screen will not have statically defined pf status. So you cannot exclude delete functionalities using the below statement.
    SET PF-STATUS <the GUI status> EXCLUDING 'DELE'.
    For viewing pf status SAP has programmed in dynamic manner using this FM VIEW_SET_PF_STATUS.
    Before calling above FM you need to exclude delete function. Follow the following step for achieving this
    Go to sm30. Put your table name and press on maintain push button. It will display table entries in maintenance screen.
    Go to system->status
    Click on program name.
    Go to your flow logic of you table maintenance screen number.
    It will have following code in flow logic
    PROCESS BEFORE OUTPUT.
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    Add new module in PBO for excluding delete function. ex  module set_pf.
    PROCESS BEFORE OUTPUT.
    ****here I added my own code for excluding delete function
    ****begin of addion
    module set_pf.
    ****end of addition
    MODULE LISTE_INITIALISIEREN.
    LOOP AT EXTRACT WITH CONTROL
      TCTRL_ZMAINTAIN CURSOR NEXTLINE.
       MODULE LISTE_SHOW_LISTE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE LISTE_EXIT_COMMAND AT EXIT-COMMAND.
    MODULE LISTE_BEFORE_LOOP.
    LOOP AT EXTRACT.
       MODULE LISTE_INIT_WORKAREA.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        FIELD ZMAINTAIN-KUNNR .
        FIELD ZMAINTAIN-LIFNR .
        MODULE SET_UPDATE_FLAG ON CHAIN-REQUEST.
       ENDCHAIN.
       FIELD VIM_MARKED MODULE LISTE_MARK_CHECKBOX.
       CHAIN.
        FIELD ZMAINTAIN-MATNR .
        MODULE LISTE_UPDATE_LISTE.
       ENDCHAIN.
    ENDLOOP.
    MODULE LISTE_AFTER_LOOP.
    *****inclule one line of code for excluding delete fucion
    module set_pf output.
          MOVE 'DELE' TO excl_cua_funct-function. COLLECT excl_cua_funct.
    endmodule.
    Basically sap fetching status dynamically from program SAPLSVIM using FM VIEW_SET_PF_STATUS. Status name is EULG.
    Please donu2019t hardcode anything by using set pf status statment, you just add one line of code the PBO by creating new module.
    Let me know if you need any help .
    Cheers.
    Regards,
    Peranandam

  • How to diable delete button in PO for all users excepting one

    Dear All
    Please guide how to disable delete button in PO for all users excepting only one.
    Thanks

    Hi,
    check following link
    [Disable fields at item level in ME22N;
    [Disable Delete Button;
    Regards
    Kailas Ugale

  • Disable "Delete" button only at project definition level

    Dear Gurus,
    Is anybody have any idea regarding how to disable "delete" button at project definition level (and remain enabled for phases, tasks,...)?
    I tried it through Web dynpro application, but it got disabled for entire hierarchy.
    Regards,
    Ravindra

    >
    Niranjan Dandekar wrote:
    > Hi Ravi,
    > I dont think its possible.
    > Why dont you try User Status with Delete forbidden
    >
    > if you dont want to use complex one, this status can be very simple like
    >
    Proj execution
    >
    > As it is After Release of Project, you wont be able to delete Project.
    >
    > Niranjan
    > Let me know if it helps!!!
    Hi Niranjan,
    Thanks for your reply,but i want to disable delete option at project defination level not at phase & task level when status is Transfred set to assign
    Is there any idea?
    Regards
    Ravi

  • Disable Delete Button

    Hi All,
    In the menu Shopping cart Status, I could able to see all the shopping cart.
    Now the requierment is , DELETE button should be disable if there is any corresponding PO for that SC.
    Please let me know how to do this. I tried with BADI BBP_UI_CONTROL_BADI. But this will hide alll the SC's irrespective of PO's.
    Please let me know any other way to do this?
    I am working on SRM 5
    Regards,
    Nikhil V.Kumar
    Edited by: Nikhil V Kumar on Aug 30, 2010 1:58 PM

    Hi
    It will be too complex(if at all possible) to implement a solution for enabling/disabling delete button depending on the follow on document of the cart.
    I will recommend you to put some code in Check BADI which could check the follow on documents for a Shopping cart on Action DELETE and throw an error if someone tries to delete such shopping carts.
    Regards
    Virender Singh

  • Delete/disable delete button in PA30

    Hi
    I transaction PA30 we want to remove/disable delete button.
    How it can be done??
    Pls help
    Regards

    Hi
    I have done it using transaction variant. If anybody has same requirement please contact us,  I will send a step-by-step document.
    Regards

  • Disable delete button in PO Modify transaction

    Hi
    I am new to SAP. I want certain user to prevent deleting PO line item in ME22N transaction (either by disabling delete button). Please let me know how go about it. thanks

    Hi,
       You may create a transaction variant in SHD0 for ME22N transaction and maintain the deletion  button as invisible as shown below:
       Activate the variant, and check again in ME22N.
       You can activate the variant to specific users who are not supposed to delete the item. Refer the doc: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?QuickLink=index&…
    Regards,
    AKPT

  • How to disable delete option in the receipt work bench thorugh formpersonal

    Hi Team,
    Please let me know, how to disable delete option in the receipt work bench through form personalization

    Hi.
    Condition
    Trigger Event: WHEN-NEW-ITEM-INSTANCE
    Trigger Object: RGW_FOLDER.M_PAYMENT_METHOD_DSP
    Actions
    Type: Property
    Object Type: Block
    Target Object: RGW_FOLDER
    Property Name: DELETE_ALLOWED
    Value: FALSE
    Note: The button will remain visible and if the user presses it, the system will ask if he/she want to delete the receipt. However, if the OK button is pressed the receipt will not be deleted and a message will be shown ("You cannot cannot delete this record")
    Hope this helps.
    Octavio

  • How can I disable the Photos app from automatically running when I plug in my iPhone?

    How can I disable the Photos app from automatically running when I plug in my iPhone?
    I have no intention of ever using Photos, in fact, having to abandon Aperture takes me one step close to moving back to Windows, but I digress.
    I just want to NOT have to kill the Photos app every time I plug in my phone.
    Thanks.

    I am still seeing the option Image Capture, like shown in the screenshot that Rysz posted.   But it is another example of the hide-and-seek Apple likes to play with us.
    The option has to be set for each device individually. With the device connected to USB, you have to click the tiny disclosure triangle in the lower left corner of the sidebar to reveal the option.
    I was perfectly happy with the program I paid for (Aperture), and now to maintain the functionality I have to pay for another application (LightRoom) to get the functionality that I paid for in Aperture.
    Aperture 3.6 is working well with Yosemite. I will use it, as long as I have a Mac, that will run Yosemite or a compatible system.
    Have you looked at Capture One?  It looks much more similar to Aperture than Lightroom.

  • Disable Delete Button for infotype 2001 subtype 0025

    I want to Disable Delete Button for infotype 2001 subtype 0025 only in PA30/61.
    Is there any EXIT available

    Hi
    Try it .
    Somebody already given this type of answers.
    Pls first use Search then post.
    Well FYI,
    <b>There is a standard User Exit for PA30 / 40 for PBO and PAI events.
    ZXPADU01 for PBO and
    ZXPADU02 for PAI events.
    By writing proper code in here for the IT2001, you can write your rules.
    PBAS0001 ( PA: Pers.Admin./Recruitment: Default values and checks ),</b>
    Manoj Shakya.

  • Disable Delete Button in Administrator Tab of OIM 11g

    Hi All,
    When we open a user in Administration tab, there are buttons like Lock/Unloc Account , Enable/Disable ,Delete button.
    I want to disable the delete button for all Users. No user should be able to delete the user in OIM.
    Please suggest an appropriate way....if any one has already tried....
    Thanks!!
    Awaiting Respose,
    Regards,
    T

    once login OIM with normal user it want allow you to disable/delete operation.
    Else for better usage use authorization policy. create a group/role and provide certain privilege to that group using authorization policy.
    --nayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • OutlookSyncClient has encountered a problem and needs to close.

    I am unable to sync my Touch. When I try to sync, Windows reports "OutlookSyncClient has encountered a problem and needs to close." There is no other indication of the cause of the problem. I'm running 7.6.2.9, with Outlook 2003 SP3 (11.8206...) on W

  • Apple 23" Aluminum HD compatible with...

    Hi There, I bought in december 2008 a 24" (1680X1050) imac in Germany. Now I´m planning to switch a similar screen as second monitor: Apple 23" Aluminum HD Cinema Display Monitor Mac LCD with serial # is 2A5291SEPKL. The question is: Would it works?

  • Create DVD from Sequence

    Hi All, Sorry if this is an inane question but I have a very simple task I want to do and I hope you can help and I hope the solution is simple. I am running FCP 5 Studio. I have a simple sequence edited in DV - I just want to burn this to a DVD with

  • Office Apps Quit when I switch to different User

    I use a number of User Accounts on the same computer. MS Word and MS Excel both quit when I switch to a different Account. I am running 10.4.11 and use Microsoft Office 2004. Anyone have any ideas of how I can stop the MS apps from quitting?

  • List of all peers in group

    I see the page at http://cookbooks.adobe.com/post_User_List_with_RTMFP_Groups-17535.html deals with the exact problem I'm facing: how to maintain a list of all the peers in a group? But it seems kinda silly to depend on a 5 minute timeout till we kno