AirPlay not working for iOS 9.3.5 on iPhone 4s

I tried disabling the option of Enable Pictures and Videos support. I run Kodi 16.1 stable version. In my iPhone, the Kodi is detected but it is not working. It previously worked on iOS 7.0 but now, it is not working.