How to remove ABMultiValueCreateMutable warning

Hello all,
I am add label for emaiaddress,address,etc.It is work or Home label in iPhone simulator contacts.
I write
ABMutableMultiValueRef multiValue = ABMultiValueCreateMutable(kABHomeLabel);
It create label but,
It give me warnig:passing argument 1 of 'ABMultiValueCreateMutable' makes integer from pointer without a cast.
How to remove i this warninig?..
Thank you..

You can't store a CFStringRef in a NSMutableDictionary. Create a NSString from the CFStringRef and use the NSString. Try something like:
NSString *tmpKey = (NSString *)kABPersonAddressStreetKey;
[homeAddr setObject:@"xyz" forKey:tmpKey];
I think that will work. NSString is bridged to CFStringRef so this conversion works.
You might also be able to just do:
[homeaddr setObject:@"xyz" forKey:(NSString *)kABPersonAddressStreetKey];

Similar Messages

  • How to remove browser warning message in HTML 5 Cap 8 projects?

    How to remove browser warning message in HTML 5 Cap 8 projects?

    My conclusion after a morning struggling with this, is that there's no point in suppressing the message if your html5 content then goes on to misbehave in Firefox (like mine does).  I've chosen to keep the popup, but change the wording to refer Firefox users to a completely separate Flash version.  The wording of the popup is also in CPM.js.
    Before you all shout at me, no I can't use the multiscreen.html approach, because my Flash version will have to be non-rescaleable, because web objects don't rescale in Flash.

  • How to remove browser warning message in HTML 5 Cap 6 projects?

    Hello,
    Is there any way to remove the following pop-up message from published HTML 5 Captivate 6 projects?
    Adobe Captivate
    This browser does not support some of the content in the file you are trying to view. Use one of the following browsers:
    Internet Explorer 9 or later
    Safari 5.1 or later
    Google Chrome 17 or later
    Our Blackboard 9.1 tech analysts recommend that all students use Firefox, and I'd rather that they don't have to read the above warning message every time they open a module. (The module did work as expected, even in Firefox.)
    Thank you,
    JAB

    Changing .ini is the advice eventually given in the Phonegap forum. (Browser compatibility error in Captivate conversions).
    But there's a much simpler solution offered at the bottom of this page - just a few lines of code at the end of
    function initializeCP() { in the index.html file header.
    A More Mobile-Friendly Captivate HTML Template | Float Mobile Learning
    Even better, that blog post also shows how to remove the play button for autoplay and make touch response times faster (for mobiles) - refer to blog for how.
    var _onComplete = cp.complete;
    cp.complete = function() {
        _onComplete();
        $("#CPUnSupportedBrowserWarning_ID").remove(); // Removes browser warning
        setTimeout(function() {
            cp.movie.play(); // Skips the play button
        }, 1);

  • How to remove the warning "do you want to save changes to investigation.pdf before closing"

    Issue: To remove the warning "do you want to save changes to investigation.pdf before closing"
    I have created a XFA pdf file(using LC Designer 8.2) to display this issue
    I am not able to attached the PDF. Without attaching the pdf it would be difficult to explain.
    click event js:
    function activateUser() {
      var PDFVersion=xfa.host.variation+xfa.host.version;
      xfa.host.messageBox("button click event registered");
      xfa.form.form1.sendForm.welcomeMsg.presence = "invisible";
      xfa.form.form1.sendForm.successMsg.presence = "visible";
      event.target.dirty=false;
    docReady event js:
    function displayInfo(){
    var res =xfa.host.variation;//Added this line to display the successMsg
    //xfa.host.messageBox("docReady event registered");
    xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
    xfa.form.form1.sendForm.successMsg.presence = "invisible";
    docClose event js:
    xfa.host.messageBox("docClose event registered");
    event.target.dirty=false; 
    Steps to get the warning:
    1) Open the attached pdf using Acrobat Professional.
    2) Click the Confirm Enrollment" button
    3) Now close the document & the acrobat gives a warning "do you want to save changes to investigation.pdf before closing"
    Summary of the XFA pdf:
    It has two text fileds. On docReady event field A is made visisble & field B is made invisible.
    On button click event the field A is made invisisble & field B is made visible.
    On closing the pdf it should not throw this warning message.
    My Efforts:
    1) Found a property in adobe js docs.
           event.target.dirty=false;
    It doesn't solve the problem.
    2) I tried to put this logic in almost all the events listed in designer but I am not able to resolve the issue.
    Please help me resolve this issue.

    I tried putting the below 2 lines of code at the end of button click event & docClose event.
          event.target.dirty=false;
          event.target.requiresFullSave=false;
    It still gives the warning.
    Also I tried to found out the line of code which is making the pdf dirty.
      xfa.host.messageBox("is doc dirty (before displayInfo's visible-invisible work): " + event.target.dirty);
      xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
      xfa.form.form1.sendForm.successMsg.presence = "invisible";
      xfa.host.messageBox("is doc dirty (after displayInfo's visible-invisible work): " + event.target.dirty);
    The doc got dirty when the successMsg field is made invisible.
    Problem I am trying to solve is:
         To display a welcome message before user action and after user action wants to display a success message.
         I follwed the visible & invisible approach & it wokred but gives me a warning on doc close.(Highly imp to avoid it)
    Is there any other approach I could follow here.

  • How to remove security warning from silent print

    Hi everybody,
    All is in the question ...
    From a web application i can print a document but every time that open a popup with a warning. I have to click ok before printing.
    I just like to remove this warning.
    Thank for your help.

    Silent printing can only be triggered from a trusted function (batch/menu scripts or the console). Calling the doc.print() function from anything else will always show the dialog, it's a security feature to prevent malicious files from spooling a billion-page job without the user realizing.

  • How to remove project warning

    Hi all,
    I'm using LabVIEW 8.6.1 project window here. How can I get rid of the warning shown in the image?
    The file has been moved as indicated. Refresh does not work, nor save all, I can not delete the warning under the "Files" or "Items" tab. Any ideas?
    TIA
    -Martin
    Certified LabVIEW Architect
    Solved!
    Go to Solution.

    Martin.D wrote:
    [...] I can not delete the warning under the "Files" or "Items" tab[...]
    The reason why you cannot delete it is because the item is part of the dependencies. It shows up because some code in your application refers to this file position, but the file (DLL!) is not found there.
    So in order to resolve the conflict, you have to find the Call Library Function Node which does not refer to the updated location of the DLL. "Reroute" this CLFN to the new position/name of the DLL and the entry should disappear.
    Note that this entry should not effect the functionality of the application since DLLs are searched in other paths if not found in the expected one....
    hope this helps,
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to remove the warning messages in CODE INSPECTOR of my report......?

    Hi All,
    I am trying to do the check to my program i.e CODE INSPECTOR. i am seeing the following warning messages below.
    1 warning message
    Program zraj0xxx include  zraj0xxx row 000083 Column0000
    %LINR-VBUP contains a hyphen
    (The Hyphen is used as a dereferencing operator! )
    Note: when i double click on the above message its taking me to the below code of my program.
    DATA %COUNT-VBUP(4) TYPE X.
    DATA %LINR-VBUP(2).
    TABLES VBPA.
    DATA %COUNT-VBPA(4) TYPE X.
    DATA %LINR-VBPA(2).
    2 warning message
    Program zraj0xxx include  zraj0xxx row 000079 Column0000
    Field string VLPMA is not referenced statically in the program
    Note: when i double click on the above message its taking me to the below code of my program.
    SELECTION-SCREEN: BEGIN OF BLOCK PROG
                               WITH FRAME TITLE TEXT-F58.
    TABLES: VLPMA,                                             
                  VLKPA.  
    TABLES VBUP.
    3 warning message
    Program zraj0xxx include  zraj0xxx row 000001 Column0000
    TEXT- GOH from the text pool is not used.
    Note: when i double click on the above message its taking me to the below code of my program.
    REPORT ZHYD0147 LINE-SIZE 255 NO STANDARD PAGE HEADING
       MESSAGE-ID ZB                                        
       LINE-COUNT 065(001).
    Thanks in advance.
    Rajesh.

    Hi Rajesh,
    First  warning message.
    DATA %COUNT-VBUP(4) TYPE X.
    DATA %LINR-VBUP(2).
    TABLES VBPA.
    DATA %COUNT-VBPA(4) TYPE X.
    DATA %LINR-VBPA(2).
    Here you are not supposed to use hyphen but instead use '_'.
    Second warning message
    Program zraj0xxx include zraj0xxx row 000079 Column0000
    Field string VLPMA is not referenced statically in the program
    That means you are not using this VLPMA any where in your program so bettr delete fromt he Top Include.
    Note: when i double click on the above message its taking me to the below code of my program.
    Third warning message
    Program zraj0xxx include zraj0xxx row 000001 Column0000
    TEXT- GOH from the text pool is not used.
    this also means that you are not using this Text elemnt anywhere of your program.So delete this one also.
    Thanks
    Rohini.

  • Extended syntax check how to remove warning

    I get the following WARNING message in extended syntax xheck.
    How to remove it.
    INT_TABLE stands for 2 fields: Table INT_TABLE[] and its header line           
    Field INT_TABLE is not referenced statically in the program       
    Here is the definition of int_table
    TYPES : BEGIN OF x_table,
              SIGN(1) TYPE C,
              OPTION(2) TYPE C,
              LOW(10) TYPE C,
              HIGH(10) TYPE C,
            END OF x_table.
    int_table    TYPE STANDARD TABLE OF x_table.             
    Int_table is used in a function module as a TABLE parameter in the form,
    In the perform S_user_field is used

    Hi,
    Do some kind of check for ur interanl table in the program.
    if not INT_TABLE[] is initial.
    endif.
    Regards,
    Nagaraj

  • In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    In the libary of iPhoto I do have double pictures only in the year 2006. Can someone please tell me how to remove the double pictures. I did rebuilt the libary but that solution did not help me any further.

    I think the warning is very clear.
    What warning? Where do you say that this plan you suggest will lose at least some, and possibly a whole lot of metadata, plus  the original files of edited photos. This is significant dataloss. And you should warn people that this is the case.
    While your metadata and originals may not be important to you, that is not necessarily the case for other users.
    Fourthly, and last, cleaning the iPhoto library should be done at least once per year
    This is nonsense. The iPhoto Library has no need of "cleaning" and certainly not in any way that trashes a whole lot of data.
    I'm very impressed that you assess the application based on the sound of the name. It's not a common way to review applications, but I'm sure it has some merit.
    FWIW it has been recommended on this - and other - sites for many years and has proven safe and effective.
    Regards
    TD

  • How to remove unwanted plugins (and no I don't want to read any unrelated articles that never answer your question)?

    I want to clear out the unwanted plugins in Fire Fox . One plugin even has a warning about not using it (Java Deployment Toolkit). But every time I ask "how to remove a plugin?" , I am redirected to an article that doesn't answer the question. And then the circular argument begins again without ever actually answering the question.
    IS IT NECESSARY TO UNINSTALL FIREFOX TO REMOVE A PLUGIN??????

    Plugins like ex Flash and Java etc are not installed in Firefox like Extensions and Themes are. They are on system and Firefox has found and is making use of them. This is why you can only activate/deactivate which tells Firefox to make use of that Plugin on system or not.

  • How to remove the letters from the Application vie...

    Hi,
    Just got my new Lumia920 yestarday in AbuDhabi and very happy with it.
    ok, it was showing the application and all setting one below eachother, after i download any software from the Market, a letters comes up and make my apps in like a group (like the letter A then all application starting with A,,, an so on)
    when i remove the apps everything back to normal ! but when i install any thing again it happens !
    how to remove this groupping ?

    The problem is.
    And I have to say it is very presumptuous of people to say "it makes things easier so I don’t see what the problem is!"
    When you have a small screen like on the 520 there are more letters then Apps!
    So I spend all the time scrolling past stupid letters.
    Tapping the letter does not make things easier because it is now 3 taps and each scree change has got a deliberately slowed screen transition.
    So it wastes my time.
    Slow screen transitions and stupid multiple step operations was the single biggest reason I got rid of my Android device.
    Windows8 was quick and simple with out all of the arty farty cr@p!
    A quick flick gets me to where I want to go so I don’t need the letters.
    If Nokia really wants to give me this option then maybe put an ABC symbol under the search magnifying glass incase say "I forget my alphabetic order!"
    Really it was nice then all by it self with out giving me a warning or an option it went stupid!

  • How to remove HP ink from hands and fabrics

    How to remove HP ink from hands and fabrics
    Please note that the ink used by HP is a water based ink that will clean easily. Here’s how to remove ink stains from hands and fabric.
    NOTE: IMMEDIATELY rinse the stained area with COLD water, and then follow the appropriate instructions.
    To remove ink stains from hands:
    Wash hands with an abrasive (gritty) soap. Note: It may take several washings.
    To remove ink stains from white fabrics:
    If ink from an HP Inkjet print cartridge spills on white fabric, use chlorine bleach and cold water to remove the stain, but act quickly.
    CAUTION: Use only COLD water. Warm or hot water will "set" the color into the fabric.
    To remove ink stains from colored fabrics:
    Use sudsy ammonia—a dilute mixture of detergent and ammonia—and cold water. Act quickly and test on an inconspicuous area first.
    CAUTION: Use cold water. Warm or hot water will "set" the color into the fabric.
    WARNING: Do not mix ammonia and chlorine bleach; this creates a toxic gas!
    Although I work for HP, my post's and replies are my own opinion. I am not an official HP spokesperson.
    ****Please click the Kudos Thumbs up if you would like to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

    This should be a sticky
    Although I work for HP, my post's and replies are my own opinion. I am not an official HP spokesperson.
    ****Please click the Kudos Thumbs up if you would like to say thanks****
    ****Please mark Accept As Solution if it solves your problem****

  • Need to remove "Budget warning Message"

    Hi friends,
    I have customer requirement that customer want that message should not display .
    no budget is maintained but still this warning message is comming in the shopping cart screen in additional specification .
    Can any body suggest me how to remove this message in nots for approval
    Path : SRM  5.0 in Monitoring shopping cart->define search -> select  any shopping cart-> additional Specification :
    Budget warning message
    This shopping cart may cause one or more budgets to be over
    committed:-
    Item     Description            Cost Centre  Financial Year
    Price     % Committed     Budget            Total Committed
        1    Test for Limit ch    SS0406
    0.00            999                0.00                0.00
    End of budget warning
    Thanks in advance.
    Edited by: Rashi on Feb 19, 2009 10:21 AM
    Edited by: Rashi on Feb 19, 2009 10:22 AM

    Hi ,
    I am still waiting for solution....
    I dont want to deactivate budget check.
    Problem is related that in the message is showing incorrect value of budget. While changing shopping card its not comparring the budget value from R/3 system.
    In R/3 FM is used to fetch budget information but every time its giving me same vale for diffrent GL account.
    Can any body helo me on this.
    Thanks

  • HT4972 how to remove jailbreak from my iphone4 (5.1)? .. i want the original setting like a new iphone..please tell?

    how to remove jailbreak from my iphone4 (5.1)? .. i want the original setting like a new iphone..please tell?

    To do this you will have to do a restore using iTunes but since you are on ios 5.1 you should just update to 5.1.1 in itunes. Warning this will remove the jailbreak

  • How to remove songs from iPad?

    I've read several threds from users asking how to remove songs from the iPad 1.0, but have not found anyone with the symptoms mine has.
    For some unknown reason, the checkbox next to each song to remove them from the iPad is disabled.
    My latest attempt at removing all of the music was to tell iTunes to "Sync Music" with "Entire Music Library' selected.  That caused iTunes to push all 2700+ songs to the iPad.  I checked to see if I could remove the songs from the iPad by de-selecting the checkbox, but the checkbox was still disabled.
    So I told iTunes to stop syncing Music.  I acknowledged the warning message that this would remove all songs from the iPad.  Perfect - remove everything and I'll manually add the songs I want to put back on.  However, the results were not what was intended... I am back to where I started:
    When I open "Music" on my iPad, it shows lots of albums and songs (over 2700).
    When I view my iPad using iTunes, "Sync Music" is disabled and the capacity indicator shows 11.1GB of space allocated to audio files.
    When I view my iPad's Music folder using iTunes, it shows only 3 albums.
    At this point, I am thinking my only option is to wipe the iPad and manually add everything back on.  I'd rather not do that... but am out of options I can think of.

    I cannot delete music from my iPad2.  I've gone into iTunes and selected to manually manage my music.  When I click on my iPad and then MUSIC, I don't see any songs listed.  When I look at my iPad itself under usic there are a ton there.  I just want to keep my iPad free of music.  I don't need my music on my phone and my iPOD (yes, I still use an iPOD and I still like my music SEPARATE.)
    HELP
    Thanks.
    PS:  I'm using iTune 11.1.3.8
    iTunes software and iPad software up-to-date

Maybe you are looking for

  • Printing a Flyer to PDF

    Hello! We just purchased CS5 for Mac (my operating system is v. 10.6.5). I need to export my two-page flyer to PDF, and when I go to Export it, I choose Compressing Settings of Bicubic Downsampling to 150 pixels per inch, with Medium Image Quality. I

  • The left navigation pane (index tree) is not displaying in last  Google Chrome version (Version 28.0

    I'm publishing my RoboHelp 9 projects in IIS (Windows Server) and the index tree is gone if I open them in Chrome version 28.0.1500.72 m If I apply the fix (WebHelp TOC does not display using Google's Chrome Browser) suggested here http://www.grainge

  • Leopard Disk Utility repair on disk with Tiger partition?

    I'm trying to repair a disk containing a bootable tiger partition using disk utility in Leopard and getting a "can't unmount disk error". Suggestions?

  • Twitter pictures not loading.

    Since about a day ago my twitter app has not been working correct, the pictures and people's icons are not loading they're just blank when you click the photo to look at it and the icons are grey. I've tried turning off and turning on my phone , logg

  • My 3GS iPhone randomly shuts off

    My 3GS iPhone randomly shuts off or gives a low battery indicator even when the battery is not low. I tried going to the Apple store and they were not helpful saying to close out apps using the multi-task button. Even after doing that, my phone was c