Files
MapLibreParticleLab/platform/darwin/src/MLNDisplayUtils.h
Stephan Partzsch d8080ee5dc Fixes wrong map view dimension on CarPlay. (#3890)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-16 15:20:10 +02:00

11 lines
239 B
Objective-C

#import <Foundation/Foundation.h>
#import <TargetConditionals.h>
#if TARGET_OS_IPHONE || TARGET_OS_TV
#import <UIKit/UIKit.h>
#else
#import <AppKit/AppKit.h>
#endif
FOUNDATION_EXTERN CGFloat MLNEffectiveScaleFactorForView(id viewOrNil);