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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:59:53+00:00 2026-05-31T10:59:53+00:00

In my AppController I have an if( _adView ) call. if( _adView ) is

  • 0

In my AppController I have an if( _adView ) call. if( _adView ) is declared in MoPubManager.h. So, I added in #import "MoPubManager.h" in the top on my AppController. But, I’m getting an error that highlights the if( _adView ) call, and it states “Use of undeclared identifier.” I though that importing the header would fix this. This is probably a really novice question, I’m still very new to Objective-C.

  • 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-31T10:59:54+00:00Added an answer on May 31, 2026 at 10:59 am

    if _adView is a property of "MoPubManager.h", then you can access the

    _adView
    

    in any other controller by importing "MoPubManager.h" in that controller and create an object of that "MoPubManager.h"

    like MoPubManager *obj = [MoPubManager alloc]init];

    then you can access _adView by using obj._adview

    Note:You can set the _adView with properties nonatomic or assign.If it is set to assign property you can change the value of _adView from any other controller

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

Sidebar

Related Questions

I have an AppController class that looks after view/control in my app in the
I have some code I've added to the afterFilter() method of my AppController (
I'm creating a game that uses cards. I have an AppController class with one
I have some component code that I'd like to in a CakePHP Task, but
I have added a function to check for language parameter to my AppController function
I have some javascript code that is used in a few different pages in
I have a two classes, a controller called AppController and a class called URLDelegate
I have a link that calls: <a href=/coupons/print_coupon/<?php echo $coupon['id']; } ?> id=print><span style=margin-left:24px;>Print</span></a>
I have a class, with a public property appController, as follows: public class FAST
Ok i have this controller: class ExampleController extends AppController { var $name = 'Example';

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.