diff --git a/engine.pro b/engine.pro
index 1630a1713b4f06f4e30a7365471871ffed27faae..50b38818ddc744ffe78e633ca3861e9fd84930d7 100644
--- a/engine.pro
+++ b/engine.pro
@@ -231,15 +231,8 @@ ios{
     HEADERS += websocket/linuxwebsocket/websocketlinux.h \
         notifications/ios/applepushnotifications.h \
         notifications/ios/iosdevicetokenstorage.h \
-        ios/FileHandlerActivity.h \
-        ios/fileopener.h \
-        segfaulthandler.h \
-        ios/IosGalleryPicker.h \
-        ios/shareheplersingelton.h \
         notifications/ios/iosnotificationreceiver.h \
-        notifications/ios/DelegateClass.h \
-        ios/IosBadges.h
-
+        notifications/ios/DelegateClass.h
 
     OBJECTIVE_SOURCES += notifications/ios/DelegateClass.mm
 
diff --git a/rocketchat.cpp b/rocketchat.cpp
index d6f504e5ba3314e1013867e1600f3b0b39925fb5..17a31f9788fd41c966147d39bde94341b07500df 100755
--- a/rocketchat.cpp
+++ b/rocketchat.cpp
@@ -641,7 +641,8 @@ void RocketChat::resetLoginMethods()
 
 void RocketChat::openIosFile( const QString &fileName )
 {
-    mFileToShare = fileName;
+    mFileToShare= fileName;
+    openShareDialog();
 }
 
 void RocketChat::openUrl( const QString url )