使用下面的代码,我们可以通过 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);