Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The controller for path '/apple-touch-icon-120x120-precomposed.png' was not found

I am getting some error messages in my web log file.

  1. The controller for path '/apple-touch-icon-120x120-precomposed.png' was not found or does not implement IController. Path::/apple-touch-icon-120x120-precomposed.png
  2. The controller for path '/apple-touch-icon-120x120.png' was not found or does not implement IController. Path::/apple-touch-icon-120x120.png
  3. Error:The controller for path '/apple-touch-icon.png' was not found or does not implement IController. Path::/apple-touch-icon.png

I have checked in all pages that I don't use these icons in my web application.

like image 513
vicky Avatar asked May 31 '17 13:05

vicky


People also ask

How does the system search for icons with the apple-touch-icon prefix?

If no icons are specified using a link element, the website root directory is searched for icons with the apple-touch-icon... prefix. For example, if the appropriate icon size for the device is 58 x 58, the system searches for filenames in the following order:

How to resolve apple touch icon not working on Windows 10?

To resolve, add 2 100×100 png files, save it as apple-touch-icon-precomposed.png and apple-touch-icon.png and upload it to the root directory of the server. After that, the error should be gone.

How to add an apple touch icon to your website?

How to add an Apple touch icon # 1 Add <link rel="apple-touch-icon" href="/example.png"> to the <head> of your page:#N#Copy code#N#<!DOCTYPE html>#N#<html... 2 Replace /example.png with the actual path to your icon. More ...

Why can't I add effects to an icon file in Safari?

Older versions of Safari will not add effects for icon files named with the -precomposed.png suffix. See First Steps: Identifying Your App in iTunes Connect for details. On iOS, similar to native applications, you can specify a launch screen image that is displayed while your web application launches.


1 Answers

Those are files for Apple iOS devices. Probably a user has added your website on their home screen. iOS then tries to find those images in order to create a nice icon for you. You can read more about that in the Safari documentation.

Like this one, which is actually a web app, but shows like a native app:

iOS screen with web app

What you should do is create and add those images files. This will improve your user experience.

like image 76
Patrick Hofman Avatar answered Oct 12 '22 00:10

Patrick Hofman