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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:28:11+00:00 2026-06-04T16:28:11+00:00

i am using a TTTableViewController (three20 framework) for displaying user profile data (username, user

  • 0

i am using a TTTableViewController (three20 framework) for displaying user profile data (username, user image, etc.).

The tableview datasource is set up as follows:

_profileImageItem = [TTTableImageItem itemWithText:@"Change Profile Image" imageURL:DEFAULT_PROFILE_IMG URL:@"tt://photoThumbs"];
self.dataSource = [TTSectionedDataSource dataSourceWithObjects:
        @"Profile Image",
        _profileImageItem,  
        @"Profile Name",
        _profileName,
        ...,
        ...];

When the user tabs the _profileImageItem, a UIImagePicker view is presented where the user can select a new image. After that i scale the image down and write it to the apps document folder.

My problem now is: How can i update the image URL in the datasource? Currently it still points to DEFAULT_PROFILE_IMG. Even when i update the _profileImageItem member using:

[_profileImageItem setImageURL:@"new URL here"];

the old image is shown. I have tried refreshing the view – same problem.

Any help is much appreciated.

  • 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-04T16:28:14+00:00Added an answer on June 4, 2026 at 4:28 pm

    Ok i made a stupid mistake.

    TTURLCache was enabled and i updated only the image, not the path (i.e. i have overwritten the profile image). As the path is used as a key in the TTURLCache, the cache returned the cached image 😉

    [[TTURLCache sharedCache] setDisableImageCache:YES];
    

    solves the issue.

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

Sidebar

Related Questions

I'm using a basic Three20 TTTableViewController subclass which employs its own datasource and model.
I'm using the TTTableViewController and datasource and I notice every time a new cell
Using Flex 3, I would like to take an image snapshot such as this:
Using PHP, I can convert MySQL data or static table data to csv, Excel,
Using C# (the .NET framework), I'm looping through all the TimeZones and their AdjustmentRules...
I am using iPhone to get data from my web service. Because I wan't
I am using iPhone SDK 3.1.3. I have a UITableViewController which gets data from
I'm using the three20 project for my iPhone app. I've narrowed my problem down
I'm starting with the SDK and I am trying to set an app using
Here's the background: I'm initializing and setting the dataSource in my TTTableViewController like so:

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.