DrawRect without erasing content?

I have two transparent UIViews overlapping, I want to draw in the "behind" one, but without clearing the content that is already present.
I have set the "clearsContextBeforeDrawing" property of that view to NO, but when I do a "setNeedsDisplay" to get it's drawRect called, the contents is still cleared.
How can I prevent this?

If you can point to the part of this that isn't clear then you should file a bug.
http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaViewsGuide/Advanc edSubclassing/chapter7_section3.html

Similar Messages

  • How do I unlink Ipod from my old PC (which has crashed HDD) and link to new PC without erasing contents of my Ipod?

    How do I unlink Ipod from my old PC (which has crashed HDD) and link to new PC without erasing contents of my Ipod?.  Unfortunately I lost all my content (photos, music) etc from my old PC when it crashed .... but when I try and link my iPod to my new PC it wants to erase the iPod first, which obviously i don't want to do, else I lose all my content ... can anyone help?

    See:
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • The iPod is synced with another iTunes Library, how do I sync it with my new MacBook Pro without erasing contents of iPod?

    The iPod is synced with another iTunes Library, how do I sync it with my new MacBook Pro without erasing contents of iPod?

    Copy everything from your old computer, or your backup copy of your old computer, to your new one.

  • Can i sync my iphone with more than one itunes library without erasing content?

    So i just got a replacement iphone yesterday, and restored from a backup all my contacts and stuff.
    I dont have my own laptop so when it comes to music i get all of my mine from other computers...this has never been a problem with my phone or ipods, but i guess it is now...when i click on manually manage it says:
    "An iPhone can be synced with only one iTunes library at a time. Erasing and syncing replaces the contents of this iPhone with the contents of this iTunes library."
    so i cannot go to a second device and take songs from them without erasing the ones from the previous comp.
    they used to be able to authorized on up to 5 comps right? is this a new strict setting, or is there a way around it??
    thanks

    No. An iPhone can be synced with only one iTunes library at a time. Erasing and syncing replaces the contents of this iPhone with the contents of this iTunes library.
    Basically you'd want to get the music to the library first, then sync it to the phone after you get it set up in your library.  iTunes will not transfer songs off the phone that were not purchased through the iTunes store, so they need to be in your library beforehand. You might consult with the googles if there are other third party ways to do that.
    The 5 compy authorization is for iTunes account authorization, which means transfering music bought through itunes, apps, etc.

  • IPhone 6 Plus will not allow sync without erasing content

    I recently upgraded from an iPhone 5 to an iPhone 6 Plus towards the end of 2014. My iPhone 5 had always been synced with my former Windows laptop, however I upgraded to a Macbook Pro in mid 2014. My iPhone 6 Plus has never been synced with or even plugged into my old Windows, however I find now that when I try to sync music to my iPhone 6 Plus it will not allow me to do so without erasing my entire phone as a pop up claims my new iPhone is synced to my former Windows laptop, which is completely not the case. I have set up my iPhone 6 Plus on this Macbook, saved backups and installed updates with absolutely no problem until now. I refuse to erase the contents of my phone as I know I have never used the iPhone on the computer it claims I am synced with.
    When setting up my iPhone I have restored from a backup of the 5 that was saved onto my new Macbook. The 5 had been synced with my Windows laptop, so is it because of using this backup that my phone cannot sync? Is there any way to avoid erasing my iPhone 6 Plus?

    its saying it was previously synced with windows because of the backup. if you don't have anything synced from another computer then you have nothing to worry about. you can just erase because its only going to erase info that was synced from other computer and since you have no info it won't have anything to erase

  • Adding photos without erasing content

    We manually manage my daughter's iPod on our main Mac, as far as her music goes. She now wants to add a few photos, which of course can't be done manually. I'm concerned that even though we have the 'manage things manually' check box still ticked, going to the Photos tab, checking the 'sync' box and attempting to sync a folder of photos will erase everything else. Am I correct in this assumption?

    The remaining answer: I just switched my ipod to "manual managing music" and tried to add some photos I took today. I would have lost my pictures on the ipod if I had applied syncing the new ones, because I changed my Aperture library and the pictures on the ipod where missing in the new library.
    So I guess you would not lose pictures if you have the same pictures still in your folder/library on your computer and just add a new folder to sync. But pictures not being present on your Mac and showing up on your daughters ipod will be deleted. Since you can't download the pictures back to your Mac, unless you use 3rd party software like http://www.wideanglesoftware.com/touchcopy/ , you can't sync without erasing the photos on the ipod.

  • Repartition portable hard drive without erasing contents

    Hey all,
    So recently I accidentally formatted my portable hard drive but luckily I was able to get my files back thanks to this incredibly useful free software called TestDisk (figured I'd give it a plug lol). Anyway, I don't think I recovered the data properly because now my portable hard drive has only one partition which is in Fat32 format. Anyway, I was wondering if anyone knew a way to repartition my hard drive so that I could leave the existing partition but create another one without having to format the whole thing.
    Thanks heaps,
    djnush

    How is the drive partitioned currently - GUID or APM? It is possible to create a second partition without completely erasing the drive, but it depends on how the drive is currently partitioned. And, you need to be running 10.5.8 in order to do it on a GUID partitioned drive. However, if the drive is currently partitioned using MBR or APM, then you cannot do it on the fly. You would have to repartition the entire drive thus erasing any data on the drive.

  • Is there a way to erase contents in cells more than one, without deleting the formatted background?

    When using Numbers on iPad (Numbers '09, v2.3 on iPad, iOS v6.1.3), I want to erase contents in an area with more than 1 cell, e.g. 10 cells, without erasing/deleting the formatted background colour.
    Using a right click on cells using Numbers on a Mac (Mac, OS X v10.8.4) you can differentiate between "delete content of cell" (where the background is maintained) and "delete all" (where both the content AND the background is deleted).
    Please, I need help.
    Kindly,
    Henning154

    Just select the cells you want to delete and hit the delete button.
    That works on my machine (Macbook Pro).
    The background remains unchanged.

  • I have a new computer from my father that already has his iphone content on it.  what do i need to do to switch my phone over from my old computer to the new one and have the new computer sync MY contacts and content to the new computer without erasing

    i have a new computer from my father that already has his iphone content on it.  what do i need to do to switch my phone over from my old computer to the new one and have the new computer sync MY contacts and content to the new computer without erasing my contact lists and purchased apps?

    okay from reading posts it seems if I transfer my backed up info from my old comp to the new one and erase my dad's phone's back up i could reset my phone and it would transfer all my old data back onto the phone, be linked to the new computer and i could proceed.  Where do i find the backed up info from my phone?

  • I have a new company iPhone 5 I backed up my old phone on the iCloud before it was replaced. The company put software on the phone when I got it but I can't figure out how to get my content back without erasing all the stuff that is new that they put on i

    I have a new iPhone 5 with company software from where I work. I backed my old phone before I got this one on iCloud but I cannot figure out to get my stuff onto this phone without erasing the content that was just put on it.

    The only way to do so is to start over: Settings>General>Reset>Erase All Content & Settings. You won't be able to use the backup of your old phone unless you are setting up a new phone.

  • I want to add my existing iPad Air 2 to a new iMac Retina 5K. Can I do this without erasing the contents of my iPad?

    I just bought an iMac with Retina 5K display. I have an existing iPad Air 2. Can I connect the iPad to the iMac without erasing the contents of the iPad? If so how? Thanks for your help.

    Hi. Actually you can connect your iPad to the iTunes without erasing the contents which purchased from iTunes Store. I suggest to import your photos taken by iPad to iMac the first time: Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support.
    Also you can click to stop syncing to avoid losing some contents.
    Regards,
    Anson

  • How to add music content to iphone without erasing what's already there?

    I'd like to add some music to my iphone without erasing what's already there, but can't see how. in iTunes Devices (on computer) I select the summary pane, I check "manually manage music and videos". and "sync only selected songs and videos. "Automatic Sync" is not selected. Then in the music pane, "Sync Music" is the only box that can be checked. When I check that, I get another box that says "all existing content on iphone will be removed and replaced with songs and playlists from your iTunes library. Can anybody shed some light here?
    thanks
    paul

    If you have manually manage music and videos checked and have disabled sync automatically, you can now drag and drop videos right onto the iPhone in iTunes. You can also delete songs and videos right from the iPhone in iTunes. Just click on the iPhone in the left pane, hit the music folder and drag and drop all you want and delete all you want.

  • HT1386 My old computer crashed and I can't sync new songs from my new computer to my IPod without erasing all of the existing content on the IPod.  Can new songs be added without erasing?

    My old computer crashed and I can't sync new songs from my new computer to my IPod without erasing all of the existing content on the IPod.  Can new songs be added without erasing?

    Yes by:
    Using iPhone, iPad, or iPod with multiple computers
    However, you can make this computer the syncing computer by:
    - Transering iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer other music by using a third-party program like one of those discussed here:
    Copy music
    - For synced photos you need a program like TouchCopy or PhoneView. The do music too.
    - After everything is on the computer connect the iPod to the computer and make a backupo by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup
    Note that the backup that iTunes makes does not include synced media like apps, music, synced photos.

  • Syncing with another Itunes library without erasing my burned CDs

    Installed Itunes on my second computer. When I dock the Ipod shuffle a message appears:
    "the ipod "------'s ipod is synced with another itunes library. do you want to erase this ipod and sync with this i tunes library? an ipod can be synced with only one itunes library at a time. erasing and syncing replaces the contents of this ipod with the contents of this itunes library"
    press "erase and sync" or "cancel"
    my problem: i don't want my ipod shuffle's contents erased because i have a lot of contents from cds i burned. these songs from the cds are not in the library! but they're all in the library of the other computer. now i can't even buy songs because ipod is not synced. please help!

    Is there a way to dock a 2nd gen ipod shuffle with another PC without erasing and syncing with the new PC? I want to be able to sync my ipod with my home PC and then be able to plug it in at work and view the tracks on the shuffle. I don't want to erase anything, just view the tracks in Itunes on the 2nd PC. Is there a way to do this?

  • Is there a way to use ipod with new computer without erasing entire library

    I'm not really tech-savvy, but I'm tossing my old computer and getting a new one - is there a way to use my ipod on my new computer without erasing my existing library? It won't let me make changes to my ipod and wants me to erase everything that is on there right now - HELP!

    Connect your iPod to your computer. When you get the message that it is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all the songs from your iPod. When your iPod appears in iTunes enable it for disk use, this is required for most if not all the utilities listed below so they can access the files: Using your iPod as a storage drive
    Once you are safely connected there are a few things you can do to restore your iTunes from the iPod. If you have any iTMS purchases the transfer of purchased content from the iPod to authorised computers was introduced with iTunes 7. A paragraph on it has been added to this article: Transfer iTunes Store purchases using iPod
    The transfer of non iTMS content such as songs imported from CD is designed by default to be one way from iTunes to iPod. However there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. You'll find that they have varying degrees of functionality and some will transfer movies, videos, photos, podcasts and games as well. Have a look at the web pages and documentation, this is just a small selection of what's available, they are generally quite straightforward. You can also read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    TuneJack Windows Only
    iPod2PC Windows Only
    iGadget Windows Only
    iDump Windows Only
    iRepo Windows Only
    iPodRip Mac & Windows
    YamiPod Mac and Windows Versions
    Music Rescue Mac & Windows
    iPodCopy Mac and Windows Versions
    There is also a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows or a Mac. The procedure is a bit involved and won't recover playlists but if you're interested it's available at this link: Two-way Street: Moving Music Off the iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync. I would also advise that you get yourself an external hard drive and back your stuff up, relying on an iPod as your sole backup is not a good idea and external drives are comparatively inexpensive these days, you can get loads of storage for a reasonable outlay.

Maybe you are looking for

  • Can I restore un-Backed up photos from a disabled iphone 4S?

    Someone played with my husband's phone and set a password, he tried to guess it all day, and ended up disabling it. He went to the ATT store and the Apple Store for help, we learned that we can easily restore it, but we will lose anything not backed

  • An error occurred: Save document failed / An error occurred while saving the document: PATH (HDB 00055)

    Hello Colleagues, I am creating an analysis in build 576, everything goes well, the algorithm calculates the needed values, but when I try to save the analysis, I receive the following error message: "An error occurred: Save document failed / An erro

  • BIG n EVIL Finder Bug!

    After "converting" our last co-worker to Mac, she found (in astounding 45 Minutes OSX) an extremely evil Finder bug. Don't try it, it's no fun to correct if afterwards: In a normal OSX Finder Window, you can change the name of the home folder link in

  • How to find cd rom drive in windows and unix platform using java program

    Hi, I am having the requirement of finding the cd rom drive using java program. I do not know the label and which one is the cd rom drive. also I want to know how many cd rom drives are there on my system. I want the solution for windows and unix pla

  • DOM tree for HTML

    Hello, How can I create DOM tree for HTML pages with java. Can anybody tell me about good examples or relevant material for this. Thanks Tabbasum