-1

I want to know how to rotate UILabel in xcode as per attachment as watermark ("Expired").

image with watermark "expired"

Cœur
  • 37,241
  • 25
  • 195
  • 267
PPShein
  • 13,309
  • 42
  • 142
  • 227

1 Answers1

1

use

yourLabel.transform = CGAffineTransformMakeRotation(M_PI /2); // set the dividend what you like

additional Reference see this --> How to angle a uilabel in ios

Community
  • 1
  • 1
Anbu.Karthik
  • 82,064
  • 23
  • 174
  • 143