iOS Platform

File name: Canvas-info.plist
File location: ctmodelhouse/ctmodelhouse/platforms/ios/Canvas/Canvas-info.plist

Native Side Code


Client Side Code

File Name: m_index.jsp

if (isMobile.iOS())
{
	var deeplink = "ctmodelhouse://"; 
	/* Linked to iTunesConnect App since the Canvas app is not deployed in AppStore */
	var appleAppStoreLink = 'itms-apps://itunes.apple.com/us/app/id899247664?mt=8'; 
	var now = new Date().valueOf(); 
	setTimeout(function()
	{
		if (new Date().valueOf() - now > 500)
		return;
		window.location = appleAppStoreLink;
	}, 300);
	window.location = deeplink;
}


Sample Screen Shots on iOS Platform

The following screen shots show sample implementation of deep linking in the ModelHouse mobile app on iOS platforms.