Check if OS is IPhone/iPad?

Contributor ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

Hi,

In Captivate it is possible to check if the learner got a Mobile OS using $$cpInfoMobileOS$$.

But I need to detect if the learner uses either Android or iPhone/iPad. Any clue how I can use something like:

function() { return navigator.userAgent.match(//iPhone|iPad);

/Jacob

 

 

Views

49

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct Answers

Most Valuable Participant , Mar 29, 2021 Mar 29, 2021
The system variable cpInfoMobileOS has the value 1 for iOS and 2 for Android? What is missing? Download the free table in this blog: http://blog.lilybiri.com/discover-slash-use-captivates-system-variables-part-1  

Likes

translate

Translate

Translate
Most Valuable Participant , Mar 29, 2021 Mar 29, 2021
The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times. 

Likes

translate

Translate

Translate
Most Valuable Participant ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

The system variable cpInfoMobileOS has the value 1 for iOS and 2 for Android? What is missing?

Download the free table in this blog:

http://blog.lilybiri.com/discover-slash-use-captivates-system-variables-part-1

 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

Nothing is missing 😉

 

Forgot the description that only appears when you enter it from the top menu. And the explanation just said it could check if it is mobile og NOT mobile.

/Jacob

 

 

 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Mar 29, 2021 Mar 29, 2021

Copy link to clipboard

Copied

The descriptions are somtimes 'cryptic', reason why I have published that table about variables multiple times. 

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines