Skip to content

iOS Module - Select your contacts' telephone like Whatsapp application + Multiple telephone selection

Notifications You must be signed in to change notification settings

andygeers/MultiContactsSelector-ios

 
 

Repository files navigation

This is a fully customizable control to select data in a list (i.e. Telephone numbers) like the Whatsapp application. Supports multiselection + English and Spanish. It's Easy to use and customizable.

Example:

    SMContactsSelector *controller = [[SMContactsSelector alloc] initWithNibName:@"SMContactsSelector" bundle:nil];
    controller.delegate = self;

    // Select your returned data type
    controller.requestData = DATA_CONTACT_ID; //DATA_CONTACT_EMAIL , DATA_CONTACT_TELEPHONE
    
    // Set your contact list setting record ids (optional)
    controller.recordIDs = [NSArray arrayWithObjects:@"1", @"2", nil];
    
    //Window show in Modal or not
    controller.showModal = YES; //Mandatory: YES or NO
    //Show tick or not
    controller.showCheckButton = YES; //Mandatory: YES or NO
    [self presentModalViewController:controller animated:YES];
    [controller release];

This control implements one delegate methods:

- (void)numberOfRowsSelected:(NSInteger)numberRows withData:(NSArray *)data andDataType:(DATA_CONTACT)type;

Loop over delegate method to parse each kind of data.

UPDATE: iOS6 privacy setting ready

About

iOS Module - Select your contacts' telephone like Whatsapp application + Multiple telephone selection

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 85.8%
  • D 14.2%