TheLearner
TheLearner

Reputation: 19507

How to turn popovercontroller direction arrow off

Is it possible to present a popovercontroller without an direction arrow:

UIPopoverArrowDirection

Upvotes: 2

Views: 1030

Answers (2)

k-thorat
k-thorat

Reputation: 5123

Use this [self.popoverController presentPopoverFromRect:CGRectMake(440.0, 80.0, 150.0, 140.0) inView:self.view permittedArrowDirections:0 animated:YES];

Upvotes: 1

nacho4d
nacho4d

Reputation: 45158

Actually, you can, or at least could, (I am not sure if the trick still works in the latest SDK ) just pass 0

Upvotes: 5

Related Questions