1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

warning for ABMultiValueCreateMutable

Discussion in 'iPhone/iPad Programming' started by diyora, Aug 24, 2008.

  1. macrumors newbie

    #1
    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..
     
  2. macrumors 68040

    #2
    EDIT: Whoops nevermind.
     
  3. Moderator emeritus

    kainjow

    #3
    You are using the incorrect parameter. The documentation gives you a list of the correct values you can use: search for "ABPropertyType" and then click on "Record Property Types".
     

Share This Page