灵感3

  1:当你引用别人的demo时,一定要按照别人的真切说明去做不要自己想当然.

      

   SDPhotoBrowser *browser = [[SDPhotoBrowser alloc] init];

    //    browser.sourceImagesContainerView = self; // 原图的父控件

    browser.sourceImagesContainerView = scroll11; // 原图的父控件  过去写的父控件是self.view 结果出错了调试了很久

    browser.imageCount = imageArr.count; // 图片总数

    browser.currentImageIndex = ges.view.tag;

    browser.delegate = self;

    [browser show];

    

posted @ 2016-05-19 14:22  zhen_zhen  阅读(38)  评论(0)    收藏  举报