Sign up to create your own snipts, or login.

Public snipts » nicolascormier's snipts » uiimage The latest uiimage snipts from nicolascormier.

showing 1-1 of 1 snipts for uiimage
  • uiview to uiimage
    UIGraphicsBeginImageContext(myView.bounds.size);
    [myView.layer renderInContext:UIGraphicsGetCurrentContext()];
    UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    

    copy | embed

    0 comments - tagged in  posted by nicolascormier on Sep 30, 2009 at 4:33 a.m. EDT
Sign up to create your own snipts, or login.