For the given code below how can you detect the user’s platform? import { Platform } from 'ionic-angular'; @Component({...}) export MyPage { constructor(platform: Platform) { this.platform = platform; // TODO : check if the device is iOS }
Correct Answer: if (this.platform.is('ios')) { .. }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ionic Framework MCQ Questions