Mac question

Eduardo Gomez Romero 205 Reputation points
2024-04-18T03:19:31.0133333+00:00

I don't understand why in Mac is not possible to open all windows

Mac does not support programmatic activation of windows.

First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please watch the Apple's Window Management in Your Multitasking App video around 4:50. Therefore, you cannot bring an existing window to the foreground programmatically.

for example,

User's image

As you can see, I have a main application running in Fullscreen, I also have 3 windows of visual studio code opened.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,886 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,571 Reputation points Microsoft Vendor
    2024-04-19T02:51:43.2633333+00:00

    Hello,

    As you can see, I have a main application running in Fullscreen, I also have 3 windows of visual studio code opened.

    It is possible to open multiple windows at the same time on Mac.

    The functionality limited by Mac is the inability to activate one window from another through the API. For example, you cannot activate one VS Code by clicking the button of another VS Code. This activation means placing focus on another window.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,526 Reputation points
    2024-04-19T21:10:28.0533333+00:00

    in the IOS/MacCatalyst world, there is no concept of overlapping windows. Because MacCatalyst apps run in a security sandbox, they do not have full access to UIKit.

    0 comments No comments