[iOS] 헤더 파일에 프레임워크 추가 하지 않고 적용시키는 방법
prefix.pch 란 파일이 있다. 이 파일의 내용에 헤더파일을 추가하면 별도로 지정하지 않고 사용할 수 있다. #ifdef __OBJC__ #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <AVFoundation/AVFoundation.h> #import <iAd/iAd.h> #import <SpriteKit/SpriteKit.h> #endif 위와 같이 추가하면 각 헤더를 헤더 파일에 추가하지 않아도 적용이 된다.