We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On arm64 macos, the enum use ios values, so center and right alignment is interchanged.
#define TARGET_ABI_USES_IOS_VALUES (!TARGET_CPU_X86_64 || (TARGET_OS_IPHONE && !TARGET_OS_MACCATALYST)) typedef NS_ENUM(NSInteger, NSTextAlignment) { NSTextAlignmentLeft = 0, // Visually left aligned #if TARGET_ABI_USES_IOS_VALUES NSTextAlignmentCenter = 1, // Visually centered NSTextAlignmentRight = 2, // Visually right aligned #else /* !TARGET_ABI_USES_IOS_VALUES */ NSTextAlignmentRight = 1, // Visually right aligned NSTextAlignmentCenter = 2, // Visually centered #endif NSTextAlignmentJustified = 3, // Fully-justified. The last line in a paragraph is natural-aligned. NSTextAlignmentNatural = 4 // Indicates the default alignment for script } API_AVAILABLE(macos(10.0), ios(6.0), watchos(2.0), tvos(9.0));
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue!
Sorry, something went wrong.
6149d2c
Successfully merging a pull request may close this issue.
On arm64 macos, the enum use ios values, so center and right alignment is interchanged.
The text was updated successfully, but these errors were encountered: