If you try to use IntelligentSplitViewController in a 64-bit enabled project, you will probably get a EXC_BAD_ACCESS crash at the objc_msgSend call. The way to fix this is to replace the objc_msgSend and replace them with these two:
1.
//objc_msgSend(theDelegate,@selector(splitViewController:willHideViewController:withBarButtonItem:forPopoverController:), self, master, button, popover);
void (*response)(id, SEL, id, id, id, id) = (void (*)(id, SEL, id, id, id, id)) objc_msgSend;
response (theDelegate, @selector(splitViewController:willHideViewController:withBarButtonItem:forPopoverController:), self, master, button, popover);
//objc_msgSend(theDelegate, @selector(splitViewController:willShowViewController:invalidatingBarButtonItem:), self, master, button);
void (*response)(id, SEL, id, id, id) = (void (*)(id, SEL, id, id, id)) objc_msgSend;
response(theDelegate, @selector(splitViewController:willShowViewController:invalidatingBarButtonItem:), self, master, button);
Hope this helps someone
If you try to use IntelligentSplitViewController in a 64-bit enabled project, you will probably get a EXC_BAD_ACCESS crash at the objc_msgSend call. The way to fix this is to replace the objc_msgSend and replace them with these two:
1.
Hope this helps someone