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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T08:55:51+00:00 2026-06-12T08:55:51+00:00

In My project i display an viewController from class settings.m in that viewController after

  • 0

In My project i display an viewController from class

settings.m

in that viewController after an touch button event called,i calling to local function that display webView with animation after loading java script like this:

 [self.webView setFrame:CGRectMake( 0.0f, 480.0f, 320.0f, 480.0f)]; 
    [UIView beginAnimations:@"settingsAnimate" context:nil];
    [UIView setAnimationDuration:1.5];
    [self.webView setFrame:CGRectMake( 0, 120, 320, 320)]; 
    [self.viewController.view addSubview:self.webView];
    [UIView commitAnimations];

its working…

but now i want to call if when event happens in other class,so I created an function with that code below in settings.m and after my event happens i calling to that function from that class:

settings *ss = [settings alloc];
[ss showAnimation];

I get in into that function in settings.m but nothing happens…what could be the problem?

Tryied using delegate: in my Options.m, its comming into the function but the webView dont chage.

@protocol IGameP
- (void) showAnimation;
@end

@interface options : CDVPlugin<IGameP>{
    id <IGameP> delegate;

}

@property (nonatomic,assign) id <IGameP> delegate;

in

options.m:

settings *s1t = [settings alloc];
[self setDelegate: s1t];

[self.delegate showAnimation];
  • 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-12T08:55:52+00:00Added an answer on June 12, 2026 at 8:55 am

    Use delegate for backward messaging (ie calling function in other classes). As such u want to take effect of your requirement in a view from another view best is to use delegate

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

Sidebar

Related Questions

We have installed RHQ monitoring system http://rhq-project.org/display/RHQ/Home . From that time our program started
I'm working on an ASP.Net project to display information on a website from a
Just a quick one, hopefully. I've coded up this: <script> $(div.design-project).css('display', 'none'); function InsertContent(tid)
I'm trying to put together a new app for a project that will display
I have a simple display project and want to cut out the mouse from
I'm currently making a GWT project where I display some HTML in a RichTextArea
I have a project where I want to display overlays to locate people on
In my project i have to display the bar chart for 30 days with
In a current project i need to display PDFs in a webpage. Right now
For a project I am looking for a good way to display pdf files

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.