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

  • footiecyclo

    footiecyclo

    26 EYLÜL 2009
  • hytchme

    hytchme

    9 Mart 2014
  • justintimberlakeVEVO

    justintimber

    2 EYLÜL 2009