How can I get rid of the iPhone camera?

The issue I am having is that when I press Cancel, the camera fades away, but then it comes right back. Now what I want at all.
Background
I have set up a UIViewController with nib and launch this view from a tab bar.  When the tab bar button is pressed the camera comes up as expected.  However, I cannot get back to my root controller because I cannot dismiss the camera.  When it is fading away, I can see the tab bar momentarily, but then the app goes right back to the camera view.
To be clear, I make use of  the following method calls:
[self presentModalViewController:picker animated:YES];
[self dismissModalViewControllerAnimated:YES];
Any suggestions or comments will be greatly appreciated.
Thanks!

@ K T
Here you go!
==
- (void) viewDidAppear:(BOOL)animated {
  // Create a new image picker instance:
  UIImagePickerController *picker = [[UIImagePickerController alloc] init];
  // Set the image picker source:
    [picker setSourceType:UIImagePickerControllerSourceTypeCamera];
  // set delegate to self
    [picker setDelegate : self];
    picker.showsCameraControls = YES;
          picker.navigationBarHidden = NO;  // NO = no help!
          picker.wantsFullScreenLayout = NO;
  // Show the picker:
          [self presentModalViewController:picker animated:YES];
    [self dismissModalViewControllerAnimated:YES];
    // release it
    [picker release];
    [super viewDidAppear:YES];
==
Thanks!

Similar Messages

  • How can I get rid of the dark area on top one third of my iphone screen which spoils my background image?

    How can I get rid of the dark area on top one third of my iphone screen which spoils my background image?
    It seems this problem is caused by the software to increase the readibility of upper letters (clock battery etc.) It be nice to leave us the control of choosing background letter color too if we are using brighter images or darker images.
    I'm using iphone 4s and it appeared after I updated to new patch. 7.1.1.
    Thanks,
    Cem
    I do not know how to move topics from sections of forum so I apologise for duplicate post.
    https://discussions.apple.com/message/25594879#25594879

    Photo added.

  • I have an iPhone 6 with IOS 8.1.3 and when I use the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can have the whole screen to what I am browsing?

    I have an iPhone 6 with IOS 8.1.3. When I go to the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can use the whole screen to what I am browsing?

    OOPS! Too quick on the trigger to ask that question without trying anything. Sorry. Solved it by touching the bookmark icon.

  • After deleting a song from my iPhone, it still playing. How can i stop that? How can i get rid of the song once for all?

    After deleting a song from my iPhone, it still playing. How can i stop that? How can i get rid of the song once for all?

    I'm pretty sure that the solution is in the settings of her email

  • How can i get rid of the iTunes logo after updating my iPhone 4 to the iOS 6

    How can I get rid of the iTunes logo after updating my iPhone to iOS 6

    Absolute garbage.
    This abysmal excuse "Always have been built in apps" is irrelevant. NOTHING should be tied to the OS of even
    a phone so tightly that you can't get rid of it. NONE of the apple crap apps do I use, but they use space on MY phone.
    I want the **** things gone.

  • I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    I use iPhone 5s and iPad Air to take photos. They download automatically to my iMac. However, I often get dups, triplicates or more on the iMac. How can I stop this and how can I get rid of the extras that are already there?

    Try upgrading your Mac to the newest version of OS X Mavericks, and try upgrading your iPhone and iPad to the newest version of iOS 7.
    OS X Mavericks may not be in the Mac App Store by now, but you can find the newest version of Mavericks here at download.com: http://download.cnet.com/Apple-Mac-OS-X-Mavericks/3000-18513_4-76018588.html. Note: Download.com it a safe website to download free software.

  • My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • After installing Itunes 10.6.3 When ever I start the computer I get a pop up the says  "Applesyncnotifier.exe- unable to locate component, this application has failed to start because Corefoundation.dll was not found"  How can I get rid of the pop up?

    After installing Itunes 10.6.3 When ever I start the computer I get a pop up the says  "Applesyncnotifier.exe- unable to locate component, this application has failed to start because Corefoundation.dll was not found"  How can I get rid of the pop up?

    I hope it doesn't effect how I down load my itunes to my ipod and iphone.
    No you should be fine. (The MobileMe service is being shut down, anyway, so there should be no impact at all.)

  • How can I get rid of the display of the last played music-title

    How can I get rid of the display of the last played music-title
    When playing a music-title the name of the title and it's progress is displayed in the box at the top of iTunes, even if the music is already stopped or ended. This display is impeding f.i. when copying music-albums to iPhones and watching the progress. Can anyone tell me please how to make the display of the last played music-title disappear?
    Thank you very much in advance.
    Hans M

    OK, thank you very much, fiend.
    However: Since yesterday afternoon my e-mail-acount is being flooded with 50+ e-mails every few hours which are not at all related to my question. I'm copying the properties of one e-mail as a sample. Could you please organize this flood to stop or tell me what to do?
    Thank you very much!
    Hans M
    Return-Path: <[email protected]>
    Delivered-To: [email protected]
    Received: (qmail 11232 invoked from network); 2 Jan 2014 21:38:42 -0000
    Received: from unknown ([172.18.1.109])
              by mailbox11.aon.at (qmail-ldap-1.03) with QMQP; 2 Jan 2014 21:38:42 -0000
    Delivered-To: CLUSTERHOST smarthub76.res.a1.net [email protected]
    Received: (qmail 9065 invoked from network); 2 Jan 2014 21:38:41 -0000
    X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on
    WARSBL504.highway.telekom.at
    X-Spam-Level:
    Received: from redstreak.apple.com (HELO bz.apple.com) ([17.151.62.54])
              (envelope-sender <[email protected]>)
              by smarthub76.res.a1.net (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP
              for <[email protected]>; 2 Jan 2014 21:38:41 -0000
    X-A1Mail-Track-Id: 1388698720:8973:smarthub76:17.151.62.54:1
    Received: from nwk-jivep-lapp04.corp.apple.com ([17.34.26.3])
    by bz.apple.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0)
    64bit (built Aug 10 2011)) with ESMTP id <[email protected]> for
    [email protected]; Thu, 02 Jan 2014 13:38:40 -0800 (PST)
    Date: Thu, 02 Jan 2014 13:38:39 -0800
    From: Apple Support Communities Updates <[email protected]>
    Reply-to: discussions-replies <[email protected]>
    To: Hans M <[email protected]>
    In-reply-to:
    <2-24330225-3-6714313-1388532858380-2-24354104-3-1039882-1388697859204.jivesbs.ji vemailuser@https://discussions.apple.com/>
    References:
    <2-24330225-3-6714313-1388532858380.jivesbs.jivemailuser@https://discussions.appl e.com/>
    <2-24330225-3-6714313-1388532858380-2-24353958-3-6714313-1388696827692.jivesbs.ji vemailuser@https://discussions.apple.com/>
    <2-24330225-3-6714313-1388532858380-2-24354104-3-1039882-1388697859204.jivesbs.ji vemailuser@https://discussions.apple.com/>
    Subject: [iTunes for Windows] - Re: Cannot follow these instructions
    "Where are my iTunes files located?" [7h40p2-20wvf-ehzw3]
    MIME-version: 1.0
    Content-type: multipart/mixed;
    boundary="----=_Part_577492_1482299802.1388698719437"
    Auto-submitted: yes
    Content-disposition: inline

  • I have a Australian iTunes account and want to switch to using the u.s store as I now live there, I cannot do this because I have $1.41 still in the oz account an image to have a zero balance to change stores, how can I get rid of the $1.41?

    I want to switch to the u.s store as I now live in the us, I cannot switch stores because my balance is $1.41 in the oz store and needs to be zero, how can I get rid of the $1.41 when everything costs more or less than that? I do not have a credit card on the oz iTunes account an I cannot use my us one to top it up.
    HELP

    Click here and request assistance.
    (60992)

  • I am running OS10.6.8 and have a mail box duplication. I use gmail and when I open my mail I have both the Apple Mail and another set of boxes for Gmail. Both get all mail and when I delete from one, it deletes from the other. How can I get rid of the dup

    I am running OS10.6.8 and have a mail box duplication. I use gmail and when I open my mail I have both the Apple Mail and another set of boxes for Gmail. Both get all mail and when I delete from one, it deletes from the other. How can I get rid of the dup

    Hi,
    According to your descriptioin, I don't think this is system problem, it should be Intel driver problem. It would be contact Intel to confirm this issue whether this is their driver problem.
    Roger Lu
    TechNet Community Support

  • How can I get rid of the accumulation of the backups in the Macintosh HD of my new MBA 13.3'' ?

    How can I get rid of the accumulation of the backups in the Macintosh HD of my new MBA 13.3'' ?

    My best advice is that you stop worrying about the backups that TimeMachine is making on your MBA. First, these local backups are only made when TimeMachine should perform a backup but your computer isn't connected to TimeMachine. Once you reconnect your computer to TimeMachine it makes a backup and the local backups are deleted. Second, TimeMachine stops making local backups when your free drive space dips below 80%. So the local backups aren't going to take over your computer.

  • How can i get rid of the small box in the middle of my screen

    How do i go about getting rid of the box in the middle of my screen that offers stuff like webify and to sign up to you guys. i really hate that box being there.
    one more question " how do i go about getting the rid of the restore session box everytime i close my home page, i dont want to restore at times i just want to close my home page and when i open it up be at my home page.

    Ok, I fixed it, thank you but I still have another question I set google to be my main screen but now I have about 3 search bars one in the middle of the screen and to on top. My question to you is how can I get rid of the middle search bar on the google screen and just have the two on top?

  • I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The

    I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my  contacts  instead of the addresses stored in my comcast account.  How can I get rid of the Facebook email addresses? The comcast addresses are stored in the comcast (xfinity) app.  I do not use the "mail" or "contacts" apps ....I go straight to comcast (xfinity).  I wish I could start over!!!  thanks.
    iPad

    I could be wrong, but it sounds like Facebook imported to your contacts.  I have the Xfinity app on my new ipad, too, but none of my stored contacts from the online version are showing, only what I manually entered into the iPads contacts are there.  When I did add the FB app, I did not grant it permission to push and pull from my ipad (not a fan of FB knowing every detail about me), so that may be where our difference lies.  You could try to open the app and change your privacy settings, or delete it and then reinstall without granting permissions to integrate.
    I'm sure someone here with a lot more knowledge then me can probably diagnose your issue better, though.  Good luck!

  • Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?

    Thanks so much. I was afraid to mess with that.  But when I unsynced them, it worked.

Maybe you are looking for

  • How to move itunes media to external drive

    I'm running iTunes for Windows 10.6.3.25 and have 3000+ songs in the library. I'd like to move the music files to an external hard drive, without losing the dates added, plays, genres or the directory structure. I've already made a copy of all the fo

  • Networking 0S9 + OS 8.6

    I've decided to finally send my old faithful beige G3 tower to a friend who still uses these powerhouse machines. To pull off all the relevant data, I'm trying to network this old computer with my Dual Boot g4 running 0S9.2. I have both machines hook

  • BACK GROUND JOB PROCESSING

    I have a report in that 4 BDCs r there. Now the requirement is in the selection screen there shoud b a button(back ground) ...if click job will be created for in SM37. Now how to do it? U can find similer options in standard programs..and where that

  • Custom PLUS panel anyone?

    Hi, I am trying to hold some model release information in some of my assets and thought it best to adhere to the PLUS standard.  However I am new to Custom Panels and am struggling to get it to work. Has anybody out there already created a custom pan

  • Hello with 3Gs and Ios6, i can't use the numeric Keyboard

    Hello, I have doing the Update Ios6 of my 3 Gs, and i can't use the keyboard numeric. I can't use the 'Q' with the keybord Qwerty, and i Can't use the 'A' with Azerty. If i install the Icones Imoji, i can't use the other keyboard. I can't del a keybo