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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T07:01:01+00:00 2026-06-13T07:01:01+00:00

I am developing a camera app right now and am using image filter effects

  • 0

I am developing a camera app right now and am using image filter effects for the pictures that I take. So, when I take a picture, the picture should be shown and below that, I want to show ten different filter effects of that picture in the form of a horizontal scroll view.

So, if I click any one of the filter effects in the scroll view, that particular effect should get applied to the picture that I’ve taken and that filter applied picture should get displayed in the same view. I should also have a save button above the picture, so that I can save it in my private app directory. (Note: Not in the default image gallery)

I couldn’t figure out the exact code or the concept that I have to implement as how to insert the images in a horizontal scroll view or how to save the picture in to my private app directory. I am using iOS5. So, any good solution for this 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-13T07:01:02+00:00Added an answer on June 13, 2026 at 7:01 am

    It may be helps you for horizontal scrollview images.

    int scrollWidth = 180;
    scrollview.contentSize = CGSizeMake(scrollWidth,110);    
    int xOffset = 4;
    
    for(int i = 0; i < [imgnamearr count]; ++i) 
    {   
        UIImageView *img = [[UIImageView alloc] init];
        img.layer.masksToBounds = YES;
        img.frame = CGRectMake(5+xOffset,1, 145, 110);
        scrollview.contentSize = CGSizeMake(scrollWidth+xOffset,115); 
        [img addSubview:[UIImage imageNamed:[imgnamearr objectAtIndex:i]]];
        UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
        button.frame = CGRectMake(5+xOffset,0, 160, 110);
        [button addTarget:self action:@selector(buttonClicked:) forControlEvents:UIControlEventTouchUpInside];
        button.accessibilityIdentifier =[imgarr objectAtIndex:i]; 
        [scrollview addSubview:img];
        [scrollview addSubview:button];
        scrollview.contentSize = CGSizeMake(scrollWidth+xOffset,115);
        xOffset += 157;
    }
    
    - (IBAction)buttonClicked:(UIButton *)sender {
       UIImageView *bigimg = [[UIImageView alloc] init];
       bigimg.layer.masksToBounds = YES;
       bigimg.frame = CGRectMake(0,0, 200, 200);
       [bigimg addSubview:[UIImage imageNamed:sender.accessibilityIdentifier]];
       [self.view addSubview:bigimg];
    }
    

    EDIT 2:

    -(void)Setthewholeview{
    
    int row = 0;
    int column = 0;
    
    
    for(int i = 0; i < [imagearry count]; ++i) 
    {
    
        UIView *uview =[[UIView alloc]initWithFrame:CGRectMake(column*155+5, row*126, 155, 125)];
        uview.layer.masksToBounds=YES;
        uview.backgroundColor = [UIColor whiteColor];
    
    
    
        UIImageView *detailback =[[UIImageView alloc] initWithFrame:CGRectMake(0,72,52,52)]; 
        detailback.image=[[UIImage alloc]init];
        detailback.image = [UIImage imageNamed:@"abc.png"];
        [uview addSubview:detailback];
        [detailback release];
    
    
        UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
        button.frame = CGRectMake(column*155+5, row*126, 155, 125);
        [button addTarget:self action:@selector(buttonClicked:) forControlEvents:UIControlEventTouchUpInside];
        button.tag = [[arrayname objectAtIndex:i]intValue]; 
    
        if (column == 1) // here set column which you want. If you wnat 2 column then set 1 here.
        {
            column = 0;
            row++;
        } else 
        {
            column++;
        }
    
        [self.scrollview addSubview:uview];
        [self.scrollview addSubview:button];
    }
    
    [self.scrollview setContentSize:CGSizeMake(320, (row+1) * 130)];
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am planning on developing an app that uses the camera, uploads pictures to
I am developing an app in which user will take Picture from camera and
I am developing an app in windows 8 that requires camera to capture picture.
im developing an app that allows users to take a picture and then it
I'm developing an app that needs to take two pictures in a row. I'm
I am developing an application that needs to capture a barcode Image using Camera
I am developing the front facing camera app in iPad2 by using the UIImagePickerController
i am developing a program which uses the android camera to take pictures. but
I am developing an app that lets the user record videos and photos. Now
I'm developing an iPhone app that includes some standard camera functions. Saving to camera

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.