Rajneesh
Rajneesh

Reputation: 272

How to share Image and text in Iphone

i want to Share Image and Text with Installed app in iPhone please help me i'm new in iPhone development. i don't know how to do this.

I Already complete in android with Below Code.

            Uri imageUri = Uri.parse(sharePath);
            Intent intent = new Intent(Intent.ACTION_SEND);
            intent.setType("image/png");
            intent.putExtra(Intent.EXTRA_TEXT, s);
            intent.putExtra(Intent.EXTRA_STREAM, imageUri);
            startActivity(Intent.createChooser(intent, "Share"));

But i don't know how to do in iPhone.

Upvotes: 0

Views: 1511

Answers (1)

Abdullah
Abdullah

Reputation: 7233

You may use UIActivityViewController to share images or text.

Please go through this or this link.

Upvotes: 2

Related Questions