以下のコードを使用して、Android で利用可能なサービスを通じて写真を共有できます。iPhoneで写真を共有する同等の方法を誰か教えてもらえますか? 前もって感謝します。
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/*");
share.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://"+photoPath));
startActivityForResult(Intent.createChooser(share, "Share Image"), SHARE_CONSTANT);