Load resources from framework

If this library is linked into a framework all resources will not be found ,the right way to load images is to use this api
imageNamed:(NSString *) inBundle:(NSBundle *) compatibleWithTraitCollection:(UITraitCollection *)
but is supported only in iOS8 .

I fix this issue using [[NSBundle bundleForClass:[self class]]resourcePath]>