SORU
23 Mart 2011, ÇARŞAMBA


Nasıl Uİİmage yatay olarak çevirmek için?

UIImage yatay olarak çevirmek için nasıl, bu özelliği kullanın. UIImage flip için nasıl UIImage sınıf başvurusu UIImageOrientationUpMirrored numaralandırma değeri buldum.

CEVAP
23 Mart 2011, ÇARŞAMBA


UIImage* sourceImage = [UIImage imageNamed:@"whatever.png"];

UIImage* flippedImage = [UIImage imageWithCGImage:sourceImage.CGImage 
                                            scale:sourceImage.scale
                                      orientation:UIImageOrientationUpMirrored];

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • placeboing

    placeboing

    7 Mart 2006
  • The Verge

    The Verge

    8 AĞUSTOS 2006
  • WOSU Public Media

    WOSU Public

    23 AĞUSTOS 2007