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 752001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:43:52+00:00 2026-05-14T14:43:52+00:00

I am new to iphone application development. I am building an iphone app where

  • 0

I am new to iphone application development. I am building an iphone app where the user needs to be able to add speech bubbles (think comics) over existing images. I have some questions on how to implement this,

  • Have an empty speech bubble image and
    overlay it over existing image – Do I
    use a separate UIImage for the speech
    bubble? Or should I draw the speech
    bubble myself?

  • Allow the user to move the speech
    bubble using touch- Any pointers or
    examples would be great!

  • Also let him resize the speech
    depending on the amount of text – Any
    pointers or examples would be great!

  • Finally he should be able to add text
    to speech bubble – Is there a way to
    add textbox over an existing image?

Thanks,

Update –

Found a similar example on this site where we move/resize a UIView – http://www.switchonthecode.com/tutorials/creating-basic-animations-on-iphone

  • 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-05-14T14:43:53+00:00Added an answer on May 14, 2026 at 2:43 pm

    I would use a transparent UIView with a UIImageView containing the bubble and a UITextView set editable.

    Use this to resize the text view whenever the text view changed notification is sent:
    CGRect frame = textview.frame;
    frame.size.height = textview.contentSize.height;
    Textview.frame = frame;

    Subclass the UIView and use touchesbegan and touchesmoved to determine where to move the view as its being dragged.

    sizewithfont: constrainedtosize: linebreakmode is the string size method

    How to save a UIImage of this layout to the photo album:

    CGRect screenRect = CGRectMake(0, 0, 320, 416); // change this as necessary
    UIGraphicsBeginImageContext(screenRect.size);
    [self.view.layer renderInContext:UIGraphicsGetCurrentContext()];
    UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    UIImageWriteToSavedPhotosAlbum(screenshot, nil, nil, nil);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to iPhone development. I am developing an iPhone application which needs
I am new to iphone application development. I have a sample application that needs
I'm new to iPhone development. I'm building an app that loads data from a
I am new in iPhone application development. I need to add 5 minutes in
I am new to iPhone application development. In the application that I am developing
I am new to iPhone application development, i have used the web services and
Hi every body i am new in iPhone application development. In my application need
I am new to iphone development. In my application, I have address for a
I am very new to iPhone development. I downloaded the iPhoneHTTPServer application from bellow
I am new to this iphone development.I have created a tab bar application which

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.