object-c的代码例子

获得资源的接口   
 /*NSString *img1 = [[NSBundle mainBundle] pathForResource:@"ad_1"
                                                     ofType:@"png"];
    NSString *img2 = [[NSBundle mainBundle] pathForResource:@"ad_1"
                                                     ofType:@"png"];
    NSString *img3 = [[NSBundle mainBundle] pathForResource:@"ad_1"
                                                     ofType:@"png"];*/
    
    //return [UIImage imageNamed:@"Guest"];

 

posted @ 2016-07-01 00:11  戈壁的石头  阅读(368)  评论(0编辑  收藏  举报