Hi All,
can an app detect which OS it is built for at runtime? Or maybe there is a static property?
thanks!
Hi All,
can an app detect which OS it is built for at runtime? Or maybe there is a static property?
thanks!
#if target…
check the target constants. You can know some things on build time.
Awesome, I was looking at #pragma directives, obviously wrong place.
thanks!