The controls cant be seen in Popover

i want to show popoverController when a button tapped which is created programmatically. the popoverContoller shows up when the button tapped but not the controls in it. i have some labels and one button in it but it cant be seen. here my codes are
- (void)viewDidLoad {
    btnPopoverDenemesi=[UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnPopoverDenemesi.frame=CGRectMake(10, 300, 200, 70);
    [btnPopoverDenemesi setTitle:@"POPOVER" forState:UIControlStateNormal];
    [btnPopoverDenemesi addTarget:self action:@selector(popoverAc) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btnPopoverDenemesi];
- (void)popoverAc {
    IkinciViewController *pcv=[[IkinciViewController alloc] init];
    UIPopoverController *myPopover = [[UIPopoverController alloc] initWithContentViewController:pcv];
    CGRect popoverFrame = btnPopoverDenemesi.frame;
    myPopover.popoverContentSize = CGSizeMake(500, 900);
    [myPopover presentPopoverFromRect:popoverFrame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
    [pcv release];
here IkinciViewController is created in storyBoard. how i can see the controls in popover ? what is wrong with ym code ?

i want to show popoverController when a button tapped which is created programmatically. the popoverContoller shows up when the button tapped but not the controls in it. i have some labels and one button in it but it cant be seen. here my codes are
- (void)viewDidLoad {
    btnPopoverDenemesi=[UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnPopoverDenemesi.frame=CGRectMake(10, 300, 200, 70);
    [btnPopoverDenemesi setTitle:@"POPOVER" forState:UIControlStateNormal];
    [btnPopoverDenemesi addTarget:self action:@selector(popoverAc) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:btnPopoverDenemesi];
- (void)popoverAc {
    IkinciViewController *pcv=[[IkinciViewController alloc] init];
    UIPopoverController *myPopover = [[UIPopoverController alloc] initWithContentViewController:pcv];
    CGRect popoverFrame = btnPopoverDenemesi.frame;
    myPopover.popoverContentSize = CGSizeMake(500, 900);
    [myPopover presentPopoverFromRect:popoverFrame inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
    [pcv release];
here IkinciViewController is created in storyBoard. how i can see the controls in popover ? what is wrong with ym code ?

Similar Messages

  • Can I hide a cluster frame and all the controls to be seen

    I am trying to hide the outline of a cluster while allowing the indicators to be visiable?
    Can this be done?

    The cluster found in the "classic controls" section does not use a sunken box as a graphic...it merely has a frame. If you use this...you can "paint" the frame transparent and you wont even know you have a cluster of controls on the FP...it will just look like a bunch of loose controls.
    cheers,
    -Brett Burger

  • I have seen on this community that the earpods do not work on iPod shuffle gen 3 but when I was using on them it worked the control panel thing that is but only until I turned it off I don't understand why it won't work again and why it did in the first p

    I have seen on this community that the earpods do not work on iPod shuffle gen 3 but when I was using on them it worked the control panel thing that is but only until I turned it off I don't understand why it won't work again and why it did in the first place can someone please explain and tell me how to make it work again

    Sorry first time asking question didn't mean to write same thing twice well copy paste

  • Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    Hi , I cant use the music bar in the control center I can only change the volume but I cant skip tracks or pause the song or play it. anyone knows the solution or the reason please?

    That's normal.
    Use the Touch ID to unlock passcode.
    http://help.apple.com/iphone/7/#/iph672384a0b

  • How do I resize my screen? I cant see the control f menu or the bottom of web pages unless I "restore down" to a smaller window size.

    I cant see the control f menu or the bottom of web pages unless I "restore down" to a smaller window size.

    The problem is when you maximize the window -- it is even bigger than the area available? Or the problem is that normal windows are always too large and have to be resized manually?

  • I cant get the control center to swipe on my iphone 5 with ios 7

    anyone else haveing the same issue.  the notification center works when you swipe down as well as the search iphone feature.

    Yeah, I got fat fingers and have jammed into the most bottom part that the screen will let me touch with the case on and stilll can not get it to work.
    Again works fine with the case off and I start the swipe up off the illuminated part of the screen and it works every time. Just does not work with the case on to get the Control Center swipe to work.
    Not a great big deal but it is a feature that would be nice to have with my favorite Otterbox Defender Case.

  • I just downloaded ios7 and the control panel doesnt work no matter how many times i swipe from the  bottom. help please!

    so i downloaded ios7, waited, and everything seems fine and dandy. except for the fact that i cant access the control panel. i tried swiping for hours, i googled solutions, tried figuring it out myself, but nothing is working. my orientation screen is locked. if that matters? so can someone please tell me what i should do? thank you!

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430
    If no joy...
    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    http://support.apple.com/kb/HT1414

  • I am trying to install software and am getting the following prompt.Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT. How do I repair this

    I am trying to install software and am getting the following prompt.
    "Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT.
    How do I repair this

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • C4780, The Control Panel Display Freezes on the HP Logo when Connecting to a Wireless Network

    this is my second c4780 i have tried to connect wirelessly to my imac, every time i get to the wireless part of the set up process my network is the strongest in the list but it cant seem to connect and when i go to retry it then it tells me the device cannot be found and that i need to connect it via usb when it already is connected and then the Control Panel Display Freezes on the HP Logo, and i cant get it unfrozen. I would really like this printer to work wirelessly so i don't have to go back to the apple store again and return it. Any help is greatly appreciated, thanks

    Worked great!!!!!!!!!!!!!!!!!!!! thank you so much i was about ready to throw it out the window

  • How to change the fiscal year in the controlling area?

    I want to change the fiscal year mentioned in the controlling area. The problem is that the controlling area is assigned to a company code and number ranges have been defined and cost center hierarchy has been created.
    Please suggest me what to do?
    Thanks in advance

    Hi
    If its a Productive system - You cant change the FY.. You need to take SAP SLO Service.. Its a chargeble one
    If its a Test system and data is posted, then you need to delete the data 1st of all... I advise create a new contr area / comp code
    "Activate components & Control Indicators" - Just COPY 2011 and make it 1900 or any year of your choice
    br, Ajay M

  • Lost my iphone dont know my IMEI number tried to get it from ituens about and clicking the Control key but there is one imei and i have 2 phones backed up on my ituens is there a way to know which one is the right one?

    Lost my iphone dont know my IMEI number tried to get it from itunesby clicking about and the Control key but there is one imei and i have 2 phones backed up on my itunes is there a way to know which one is the right one? and is there another way to find my phone and its offline so i cant use find my phone! Help

    Other ways? Check the box? Call your carrier?

  • How do u reboot the computer when the control pad doesnt work

    how do u reboot the macbook pro when the control pad doesnt work??? and does anyone know how to get the control pad to work i cant move the cursor??

    By "control pad" do you mean "trackpad?" If the trackpad has stopped working then press the Power button and hold it down for 5-10 seconds. This will shutdown the computer. Insert the installer disc then restart the computer. After the chime press and hold down the "C" key until the computer starts up and you see the spinning gear. Then:
    Repair the Hard Drive and Permissions
    After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.

  • Using the control key to scale to a certain size proportionally without it being locked

    In illustrator CS5 if there is a particular size you want to enter, after entering the size in the width you could hold down the control key and it would scale everything proportionally without the lock button being on. I cant seem to get CS6 to do this feature. Is there a way to get this feature back?

    Update to Illustrator to get to 16.05. I assume you are on PC since you said CTRL and not Command.
    Adobe - Illustrator : For Windows  
    I leave the transform palette with the lock off
    So that I can use the hot key as you mentioned and that would scale proportionately as if the hot key was held down
    Uninstall any 3rd party Illustrator or Windows plug ins that may be interfering with this.
    Also wanted to make sure you are holding down the CTRL key while you hit enter to accept the value.
    Select item(s)
    change either width or height
    hold down CTRL on windows
    Hit return or enter
    Release CTRL

  • The control centre and notification centre on my iPad 3 running iOS 7 is not translucent, The control centre and notification centre on my iPad 3 running iOS 7 is not translucent

    Apple told us that in the new iOS 7, menus such as the control centre and notification will be translucent, and allows users to see to some extent content concealed behind the menus.
    I've update my iPad 3 to iOS 7.0.3. The menus (Notification centre, Control centre etc...) are not translucent, at all.
    Control centre is completely greyed out, and I can't see anything behind the menu when called up.
    Notification centre is similarly completely blacked out, though to a small extent I can see some content behind notification centre.
    I've seen in video reviews of iOS 7 that notification centre and control centre are both close to being clear, and take up the colour of content behind them.
    My iPad 3 does not display such aesthetics.
    I know that some of you will say that I should turn off 'increase contrast', but that's not the case, since I've already turned it off.
    The issue was already present when I update from iOS 6 to iOS 7.0.2, and the problem was carried over to iOS 7.0.3, in which I thought the issue would be rectified.
    Is anyone else finding this issue present on their devices?
    Has anyone found a fix yet?
    Thanks!

    Sadly, the iPad 3rd Generation does not recieve the blur/translucency effects which you are mentioning in iOS 7. (The reasoning for this situation is most likely listed below.)
    1.) The difference in processing power between the iPad 3rd generation & iPad 4th generation, (The 4th Generation recieves these visual capabillities while the iPad 3rd Generation isn't capable of producing the effects).
    2.) Marketing issues in which Apple prefers consumers to purchase a newer model instead of something older.
    Turning on the 'Increase Contrast' option is Settings will on make the Notification Center & Control Center completely opaque. This setting is used to make text legibillity higher.
    I hope that this answers your question, if you have anymore questions, just ask. Enjoy your iPad (:

  • Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.,

    Is there a way of connecting the ipad to the smart board in the classroom, so that the smartboard is the control, and the ipad is displaying what is on the smartboard? This is to help a visually impaired child see what is on the smartboard.

    Absolutely!
    Install Splashtop2 on the PC and enable it to be controlled or ran from iPad or Reflection to simply allow iPad to serve as PC unwired monitor. With Splashtop and an Apple TV connected, you use the smartboard as usual, yet the PC and iPad can see the same content. The impaired child can even interact with the Smart Board via the iPad as if he were writing directly on the big screen. Erasing functions can be done by touching the Smart Board manual controls. Several variables are in play that cause this lack of functionality:
        Apple won't permit PC software that infringes its proprietary apps.
        Smart Board companies refuse to develop iPad apps because they feel threatened and are being replaced by iPads
        School districts think Apple TV is meant for copyright infringement and could expose them to safe harbor lawsuits
        Network administrators make it impossible to login Apple TVs because they don't want the streaming occurring
        Classrooms are not able to keep up with the technology of using the iPad
        Clicker companies refuse to play with iPad because they see it as a potential threat to their core business clients
        Apple is not working as hard as it could to exploit its capabilities in education, thus losing money in iPad sales
    The bottom line is that we educators and technology developers are hurting our childern with petty conflicts.

Maybe you are looking for