Re: How to Translate iOS UIView Point to Mac NSView
Dave
Hi,
toggle quoted message
Show quoted text
This seems to do the trick: -(LTWNativeRectType) adjustRectForPlatform:(LTWNativeRectType) theRect { LTWNativeRectType myRect; myRect = theRect; myRect.origin.y = self.frame.size.height - myRect.origin.y; myRect.origin.y -= myRect.size.height; return myRect; } Cheers Dave On 30 Aug 2017, at 17:30, Glenn L. Austin <glenn@...> wrote: |
|