Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7841885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:11:41+00:00 2026-06-02T16:11:41+00:00

I have been using these projects files ( SuperChat ), to try and set

  • 0

I have been using these projects files (SuperChat), to try and set up a kind of messaging app. I have done this and it successfully works but I need to be able to send images across the two devices now.

I use this code to send a message to the other device:

[theTopic publishMessage:@"Message"];

How would I be able to send an image, as this only let’s you send an NSString.

Help would be greatly appreciated!

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T16:11:42+00:00Added an answer on June 2, 2026 at 4:11 pm

    convert the UIImage to a NSData and then to a base64EncodedString.
    You will be able to use the same method to send the data across.

    Only pitfall is if the sendMessage is a synchronous call, you might have to use GCD queues to send it asynchronously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All these years i have been successfully using EnumServicesStatus in combination with OpenScManager (with
I have been using this code with great success to pull out the first
Some Background I have been using Git for a while now. The projects that
So I have been working on a few projects using audio and images from
I have been using extplorer http://extplorer.sourceforge.net/ Are there any good alternatives which run on
I have been using flexigrid for my CMS and I like it except there
I have been using Visual Studio integrated with Source Safe for years, when I
I have been using the CodeIgniter system for a while now - but it
I have been using a noscript tag to show a warning when users have
I have been using WPF for a few years now and don't have any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.