[iPhone]Problem with initWithNibName:bundle - UIView retained after release

I am loading a UIViewController and its view from a xib file using alloc and initWithNibName:bundle. The UIViewController is the file's owner proxy. The xib is in the main bundle so I have passed nil for the bundle argument to initWithNibName:bundle. When the view is dismissed by the user I release the UIViewController however its dealloc method is not called.
So what I am missing? When a view controller is loaded from a xib what is holding on to it and what more needs to be done to release it?
Thanks

Thanks for the pointer - I have been though that material. This is a little different from what is described there as initWithNibName:bundle is a UIViewController method. It is the view controller I am trying to release. The retainCount of the viewController is 0 at the time I release it yet dealloc is never called. Also, I can tell the object is still hanging around as it responds to a notification when the application terminates.

Similar Messages

  • Having many problem with wifi....after installing lion......

    Having many problem with wifi....after installing lion......it connect with wifi but not with Internet and at the same time iPad 2, iPhone 4 works smooth......help......I have MacBook air without thunderbolt and mac mini

    I had the same problem last night. Boot into OSX and reboot the router - fine. Boot into Windows and wrong. Here were my fixes:
    Firstly, I kept all the settings on my router solid. Just leave them as they are. Boot into OSX and check the Network settings and make a note of your IP address and the router's IP address.
    Second, boot into Windows, then open up your wireless connection settings and navigate through to the properties where you can set the IP address.
    Third: Set the IP address to your routers IP address changing the last set of digits to a value between 5 and 255 (I have 8 devices so I set the last two digits to 10.) This will keep the IP static.
    Tab through the Mask settings to default those.
    Then set the default gateway to your router's IP address.
    Check that the Network Adapter's setting has IPv6 disabled (uncheck the box)
    Finally: Set the primary DNS server to 8.8.8.8 then the secondary to 8.8.4.4 and then reboot the router.
    That's what got my connection running.

  • I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro.

    I am having a problem with very slow start up after expanding RAM on my 2009 Mac Pro (8 Core 2.93GHz). When I run the Mac Pro with 2 x 2Gb RAM it takes 4 seconds before the gray screen, chime and spinning wheel appear.However when I expand the RAM to 20GB the grey screen and chimes appear after a long 20+ second black screen.
    The RAM modules are paored  2 x 4GB Crucial CT51272BA1339.M18FMR and  6 x 2GB SAMSUNG M391B5673FH0-CH9, all DDR3 ECC.
    Reading articles on the internet, I thought it may be damaged RAM modules, but I have completed memtest and all are okay. I have tried changing the pairs around and if I use any paired 2 modules the Mac Pro starts normally, only when I try running more than 2 modules the delayed start up happens. (black screen 20 Seconds)
    I also have tried PRAM and SMU resets after changing the RAM setups, and the issues always occurs when I have more than 2 modules. As you can see I have 6 SAMSUNG modules and even with identical modules the issue happens, when increasing the RAM to more than 2 modules.
    The Mac Pro runs fine after the start up screen and can see all the modules, but has anyone else come across this issue, or have any ideas as to why my Mac Pro is taking 20 seconds to start up with 20 GB RAM?

    Hi there. Thanks for your comments.
    I have tried all the different combinations of RAM setup, and as stated in my initial topic, the Mac Pro boot up time only slows when I have more that 2 modules. Where I place these does not seem to make a difference.
    I have taken the Mac Pro to an Apple Reseller technician yesterday and they where not able to find any RAM errors. Apparently the boot up time is within Apple's acceptable parameters for this set up.
    Could anyone that is running a Mac Pro 2009 with more that 4 modules of RAM, please let me know if the boot up time is normal. ( the time it takes from pressing the power button to seeing the gray screen around 16 - 20 seconds)
    Or is anyone else having the same issues?
    thanks for your responce

  • Problem with connecting to free wifi after upgrading to Windows 8.1 from Windows 8

    Hi
    I had problems with connecting to free Wifi after upgrading my PC(Notebook) to Windows 8.1 from Windows 8. As I travel a lot within europe, I am used to being able to connect to Free Wifi(those that dont need a key or password to enter) but soon after downloading
    Windows 8.1 I almost never was able to do this. I'd always get «LIMITED» even though the signal was strong.This was so fustrating,so much so that I reset my PC to clear it of Windows 8.1 and am now back to Windows 8.This is a shame because I was really liking
    using Windows 8.1 and if not for this problem(which is a big one) I'd still be using it. If I download Windows 8.1 again from the Windows store what is the probability that I'll have the same problems?
    Thanks Portozzygirl

    More often than not when a device isn't working it is because the driver has become corrupted. Re-installing a fresh copy should help
    http://windows.microsoft.com/en-us/windows7/Update-a-driver-for-hardware-that-isnt-working-properly?SignedIn=1
    http://captaindbg.com/how-to-update-drivers-on-windows-7/   (works on win 8 too)
    Wanikiya and Dyami--Team Zigzag

  • Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Hello, I have a problem with my mac book pro after running the battery dead on a game.  The display has shrunk leaving two black margins on either side. What to do ?

    Go to System Preferences>Displays and set the resolution to "Best for this computer" (or something to that effect).
    Clinton

  • Y have problems with Photoshop Elements 12  Bug after reinstallation complet  Impossible working ??

    Morning !
    We have many problems with PHOTOSHOP ELEMENTS 12 ?
    After installation on MAC OS X   YOSEMITE  .
    S O S !!

    Exporter vers photoshop do you receive any specific error messages?  In what way is Photoshop Elements 12 not working?

  • Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Is it somebody Except for me Who has problems With waching videos on ipad after the 5.0.1 update

    Hi,
    yes I have big problems as soon as I open the video app i get a total black screen, even the upper bar with the time disappears. I already tried to:
    1. closing the app and reopen it
    2. restart the iPad
    3. restore the iPad via iTunes
    4. Begging the app to work again.

  • Problems with result area in workbooks after upgrade to BW 3.5

    Hi,
    we are experiencing some problems with our <b>workbooks</b> after the upgrade to BW 3.5. When refreshing all queries in a workbook (that was there before 3.5) without selecting a specific query we get the message <b>'Result area</b> cannot be found, specify a new one'. After selecting, the message appears again in an infinite loop.
    Has anybody had similar problems and has found a solution for this?
    Thanks,
    EMS

    Hi,
    I am having that message, always if I delete a Sheet which contains an embeded query.
    Even the sheet is deleted, the SAPBEX has information of all the embeded queries, and tries to find the Result area to put the data.
    To find out if this is your case as well,
    select an empty cell in a Sheet and continue like that, until all the embeded queries are been displayed.
    Regards
    Vasso
    Message was edited by: VASSILIKI SIAGRI

  • I have problem with Access Connections on L412 after that utilyty upgrade

    I have problem with Access Connections on L412 after that utilyty upgrade in early August. Windows 7 Ultimate/x64.
    It stops connecting to WPA2 Enterprise (AES-CCMP), Microsoft PEAP, no server cert, with any credentials I try to use. The same account(s) works with native Intel manager on other notebooks and on mobile devices. I lost the wireless connectivity to enterprise WiFi network.
    And, after deinstallation of Access Connections, the inability to connect keeped intact with native Win7 WiFi management.
    I think, something was broken in Access Connections 5.83 Build 83C753WW and some registry settings/ dll modules were altered but not returned to normal after deinstall.

    Access Connections is definitely broken for WPA encryption.  Both versions 5.02 and 5.84 fail for me.  If I use the Windows XP wireless configuration instead of Access Connections, everything works.
    Does anyone know how to report this to Lenovo?  I chased links around the web site but couldn't find a place.

  • I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    I downloaded OS X Lion on my iMac and I'm having problems with my computer waking up after hibernating.  I can get to the login screen but my mouse will be frozen.  The only fix's is a hard reboot.  Any help would be great!

    Try resetting the SMC and the PRAM.
    1. SMC
    Read this and follow the instructions for your kind of mac:
    http://support.apple.com/kb/HT3964
    2. PRAM
    Follow the procedure below:
    1. Power down the machine.
    2. Locate the following keys on your keyboard in preparation for Step 4:
    command–option–P–R
    3. Press the ‘power on’ button.
    4. Immediately – and before the grey screen appears – hold down ‘command-option-P-R’ all together.
    5. Keep them held down until you’ve heard the start-up chime twice. After you release them you should hear it again, and hopefully your Mac will boot up as it should normally.

  • I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    I have a problem with the apple service team after making a payment. Where do I take the issue up?, I have a problem with the apple service team after making a payment. Where do I take the issue up?

    If you are dissatisfied with the Service you have received and wish to Contact Apple...
    India
    Start your support request online and we'll connect you to an expert.
    (91) 1800 4250 744
    www.apple.com/in/support/
    From the above Link...
    To Contact Apple World Wide for Support and Service
    http://support.apple.com/kb/HE57

  • Problem with WCS Audit status missmatch after upgrade

    We had problem with wcs Audit status missmatch after upgrade to 7.0.164.3  WLC : 6.0.188.0.
    how I can fix the problem?

    Hi,
    Try pinging the WCS from the WLC and vice versa and then try again to refresh config from controllers.. then follow the below if its still not happening..
    Please forwrd the trace level logs from the WCS (Specifically WCS0.0.TXT logs) while recreating the issue!!
    Regards
    Surendra

  • Cannot display photos on iPhone 5 with iOS 7.1.2 after deleted some photos

    Connot display photos on iPhone 5 with iOS 7.1.2 after doing some photos deletion, seems the photos index corrupted.
    How to rebulid or resolve?
    Many thanks!!

    yes, everything else seems to work except bluetooth. it just keeps searching all the time and none of my devices see the phone including macbook, iMac or speakers. I've reinstalled the system and reset it as well, Ive also followed one advice that's on one of the forums where it was suggested to switch the flight mode on, reset the phone and switch the flight mode off. No results.
    Do you have any other ideas?

  • IPhone 4s with ios6 all apps crashing after opening

    iPhone 4s with ios6 all apps crashing after opening. Yesterday  my phone started to crash. Everytime i started whatsapp or others, it stars working at first than goes back main screen. Resetted the device by pushing home and lock buttons. Nothing happened. Tried to format and it's worked again. But i don't want to set my phone from beginning.  When i restored from backups nothing happened. Only hard format fixed. what else can i do with this situation ?

    @alperkilislioglu,    
         Try restoring it but set it up as a new iPhone this time. If that does not work then bring it to Apple.

  • Are you having problems with the Lacie external drive after upgrading to the new operating system

    Are you having problems with the Lacie external drive after upgrading to OS X Mavericks?

    See here for everyone discussing the issue you are having:
    https://discussions.apple.com/thread/5475136?tstart=0

Maybe you are looking for