티스토리 뷰

사용자 정의 프레임웍 사용시 안에 있는 이미지 파일/xib로드 시 번들 구하는 방법

NSBundle *thisBundle = [NSBundle bundleForClass:[self class]]; NSString *filePath =[NSString stringWithFormat:@"%@/%@",[thisBundle bundlePath], userFrameworkName]; NSBundle *motherBundle = [NSBundle bundleWithPath:filePath];
댓글