Skip to content

iOS App running on mac returns incorrect info #506

Description

@MojtabaHs

With this setup:
Image

Calling when app is running on a mac:

print(Device.current.systemName ?? "OS")
print(Device.current)

Returns these:

iPadOS
iPad Pro (12.9-inch) (3rd generation)

Expected to be nil or unknown at worst case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions