I get failures reading the Name of a Font object on iOS.
The Size property works for me.
Code like this:
if (RealbasicVersion() >= 2020)
{
REALobject font = nil;
if (REALGetPropValueObject(o, "Font", &font))
{
FreeLater(font);
if (REALGetPropValueString(font, "Name", &TextFont))
{
// okay
return TextFont;
}
else
{
DebugMessage("Failed to query Name property of font.", font);
}
}
else
{
DebugMessage("Failed to query font property");
}
}
So we get font property from Graphics on iOS and query name. Name fails for some unknown reason.
@William_Yu, you have an idea?