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

  • hotstrikegently

    hotstrikegen

    26 AĞUSTOS 2011
  • LardTardProductions's channel

    LardTardProd

    10 NİSAN 2009
  • The10HourMan

    The10HourMan

    28 EYLÜL 2012