Interviewer And Interviewee Guide

Hybrid Application Developer Interview Question:

How to detect a platform (Android or iOS) at runtime in Ionic application?

Submitted by: Muhammad
Ionic provides platform classes: when the application is loaded, Ionic adds CSS classes to the <body> tag. For example, on iOS devices, Ionic adds platform-ios class to <body> tag. Ionic also adds OS version classes such as platform-ios8 (for iOS 8) and platform-android4_4 (for Android 4.4).
Submitted by: Muhammad

Read Online Hybrid Application Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.