Could not insert new outlet connection [duplicate]

I got the same problem as you today… I think this is a bug of Xcode, below is the way to fix the issue: Close the project you are working on with. Delete your project’s【DerivedData】folder. (This folder may inside your project’s folder, or inside ~/Library/Developer/Xcode/DerivedData/(your project)/ ) or somewhere else that was setup by you. … Read more

Facebook authorization fails on iOS6 when switching FB account on device

Another answer gives a way to manually resync the device with the server. I defined a method called fbRsync to call this code. Make sure to #import <Accounts/Accounts.h> in your implementation file and then define this method: -(void)fbResync { ACAccountStore *accountStore; ACAccountType *accountTypeFB; if ((accountStore = [[ACAccountStore alloc] init]) && (accountTypeFB = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook] ) … Read more

How to make a push notification for a pass

The requirements and protocol for push notifications is documented in the Push Notification Programming Guide. There are a few special considerations for Passbook: All Pass push requests must be sent to the production APNS server (gateway.push.apple.com on port 2195) You must use your Pass Type ID certificate and key to authenticate with the APNS server … Read more

UIPageViewController navigates to wrong page with Scroll transition style

My workaround of this bug was to create a block when finished that was setting the same viewcontroller but without animation __weak YourSelfClass *blocksafeSelf = self; [self.pageViewController setViewControllers:viewControllers direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:^(BOOL finished){ if(finished) { dispatch_async(dispatch_get_main_queue(), ^{ [blocksafeSelf.pageViewController setViewControllers:viewControllers direction:UIPageViewControllerNavigationDirectionForward animated:NO completion:NULL];// bug fix for uipageview controller }); } }];