Jump to content
Mumble forums

Create groups from ios app


Recommended Posts

when i can find how to allow, how to create groups from ios app?

 

i do connect by button, what i can modified to create some group when i connected?

 

- (void)buttonPressed:(UIButton *)button {
    
    NSIndexPath *indexPath = [[self tableView] indexPathForSelectedRow];
    MUFavouriteServer *favServ = [_favouriteServers objectAtIndex:[indexPath row]];
    NSLog(@"Button Pressed");
    NSString *userName = [favServ userName];
    if (userName == nil) {
        userName = [[NSUserDefaults standardUserDefaults] objectForKey:@"DefaultUserName"];
    }
    
    MUConnectionController *connCtrlr = [MUConnectionController sharedController];
    [connCtrlr connetToHostname:@"MY_SERVER_IP"
                           port:64738
                        withUsername:@"USERNAME"
                    andPassword:[favServ password]
       withParentViewController:self];
    [[self tableView] deselectRowAtIndexPath:indexPath animated:YES];
}

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...