Subversion Repositories tpanel

Rev

Rev 446 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 483
Line 67... Line 67...
67
 
67
 
68
    UIWindowScene *scene = (UIWindowScene *)array[0];
68
    UIWindowScene *scene = (UIWindowScene *)array[0];
69
 
69
 
70
    if (!scene)
70
    if (!scene)
71
    {
71
    {
72
        MSG_ERROR("Error getting the first scene! Will not roteate.");
72
        MSG_ERROR("Error getting the first scene! Will not rotate.");
73
        return;
73
        return;
74
    }
74
    }
75
 
75
 
76
    UIWindowSceneGeometryPreferencesIOS *geometryPreferences = [[UIWindowSceneGeometryPreferencesIOS alloc] initWithInterfaceOrientations:value];
76
    UIWindowSceneGeometryPreferencesIOS *geometryPreferences = [[UIWindowSceneGeometryPreferencesIOS alloc] initWithInterfaceOrientations:value];
77
 
77