Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AddressBook & Mail

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa
Mac Cocoa  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Fri Jun 11, 2010 9:40 pm    Post subject: AddressBook & Mail Reply with quote

iphonedevsdk.com - ABPersonViewController and Editing Contacts

"I managed to get the add contact working pretty simply by creating a
navcontroller on-the-fly like so..."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Fri Jun 11, 2010 9:45 pm    Post subject: Reply with quote

so - iphone ABNewPersonViewController seems to not be responding
to delegate


"The add dialog box comes up as expected, I can edit the contact, but I am
not able to remove the modal View Controller from the view."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Fri Jun 11, 2010 9:48 pm    Post subject: Reply with quote

From the book iPhone in Action:

Code:
-(IBAction)newContact:(id)sender
{
   ABNewPersonViewController *myAdder = [[ABNewPersonViewController alloc] init];
   
   myAdder.newPersonViewDelegate = self;

   UINavigationController *myNav = [[UINavigationController alloc] initWithRootViewController:myAdder];
   [self presentModalViewController:myNav animated:YES];
   
   [myAdder release];
   [myNav release];
}

- (void)newPersonViewController:(ABNewPersonViewController *)newPersonViewController didCompleteWithNewPerson:(ABRecordRef)person
{
   [self dismissModalViewControllerAnimated:YES];
}
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Sat Jun 12, 2010 2:15 am    Post subject: Reply with quote

iphonedevsdk.com - Problem with some AddressBook code... can you help?

"If i CFRelease(addressbook), my program crashes.
If i don't release it, I see many many SQL lib objects created & still living
that I don't need around.... pointing to the ABAddressBookCreate() code."
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3036
Location: Europe

PostPosted: Sun Jan 23, 2011 12:43 am    Post subject: Reply with quote

SO - Can't send email with video/audio attachment on iphone!

Code:
NSString *mp3File = [NSTemporaryDirectory() stringByAppendingPathComponent: @"tmp.mp3"];
NSURL    *fileURL = [[NSURL alloc] initFileURLWithPath:mp3File];
NSData *soundFile = [[NSData alloc] initWithContentsOfURL:fileURL];

[mailDialogController addAttachmentData:soundFile mimeType:@"audio/mpeg" fileName:@"tmp.mp3"];
Back to top
View user's profile Send private message
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3036
Location: Europe

PostPosted: Fri Jan 28, 2011 12:33 pm    Post subject: Reply with quote

so - MFMessageComposeViewController alloc returns nil

"Have you checked +[MFMessageComposeViewController canSendText]?"
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3523
Location: Zagreb

PostPosted: Mon May 01, 2017 3:57 pm    Post subject: Reply with quote

se - Choose which X.509 certificate to use for signing mails

"Apple Mail will detect the signing certificate stored in your login keychain and
associate it with the account in Apple Mail that is using the same email address
specified in the certificate's RFC 822 Name field."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Cocoa All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group