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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:39:13+00:00 2026-06-06T09:39:13+00:00

I write a chat module and i need to load previous messages to chat

  • 0

I write a chat module and i need to load previous messages to chat when user scrolling up a chat view. It is so easy to add subview to end of content, but i don’t know how to add subview to start :(.

  • 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-06T09:39:16+00:00Added an answer on June 6, 2026 at 9:39 am

    You will need to shift all the other views down by the height of the new view, you can also add an animation to the motion of the views, for example if you have 5 views, and you want to add an additional view, you will shift these 5 views to the bottom (and maybe apply an animation) then add this new view to the correct postition

    However as i suggested in the comments, using a UITableView would be easier, each cell will be a UITableViewCell, and to add a new chat item you would use

    [tableView insertRowsAtIndexPaths:[NSArray arrayWithObject:[NSIndexPath indexPathForRow:0 inSection:0]]
                     withRowAnimation:UITableViewRowAnimationRight];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I putting an in-game chat module into an app. I am adding text messages
Hi Guys I need to write a chat server in C. It only needs
I making a simple chat application, and I need to write a claas that
I'm trying to write some simple chat client in javascript, but I need a
Trying to write a chat, like on facebook, I wondered if two clients can
I want to write a simple chat application (for test use). The users and
I've to write an Ajax chat web application in ASP.NET for a friend, and
I want to write a browser-chat and write an own server in c++, because
I'd like to write a basic socket chat app, except encrypted. Y'know all those
I want to create SOCKET chat(server + clients) with private messaging. When client write

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.