[iPhone] UIPickerView - possibly caching

Hi all,
I am doing a bit of prototype testing and have coded a small iPhone app that browses Bonjour services.
On the interface I have currently just added a UIPickerView which dynamically at runtime gets items added to it as and when my NSNetServiceBrowser finds services.
When the browser finds a service it simple calls:
// services is just an NSMutableArray of NSNetService objects
[services addObject:aNetService];
[aNetService resolveWithTimeout:5.0];
[uiPickerView reloadAllComponents];
And my UIPickerViewDelegate methods perform the following:
- ( NSString * )pickerView:(UIPickerView *)pickerView
titleForRow:(NSInteger)row
forComponent:(NSInteger)component
NSNetService* service = [[bonjourDiscoveryService services] objectAtIndex:row];
return [service name];
This is working fine but I have noticed something strange.
If I turn stop the bonjour service on an already displayed service the UIPickerView successfully removes it from the list.
But, then if I change the service name and restart the Bonjour service the UIPickerView adds the service but with the old service name?
Does the iPhone have some form of caching objects??
Many thanks all,
Eggsy

To everyone that has read this post - I am a stupid programmer and there is no caching.
I wasn't changing my service object with the new name!
Useless - my apologies!!

Similar Messages

  • Ipod doesn't work on speakers but headphones are fine and speaker works with iPhone. Possible connector issue? Any thoughts on how I can get the fixed?

    ipod doesn't work on speakers but headphones are fine and speaker works with iPhone. Possible connector issue? Any thoughts on how I can get the fixed?

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for all developers

    I've opened a bug for this issue as well. I want to ask if anyone experiencing the same issue and has found a workaround.  Basically Air Runtime is picking up the wrong launch image when launching on iPhone 6. It defaults to [email protected] instead of the [email protected] iOS 8 picks the correct image but Air Runtime does not. Here is the link for the bug. If this is confirmed, this could result in rejection for all the app developers who optimized their apps for iPhone 6 . It is hard to catch this bug in release mode since the Air Runtime loads pretty fast and it occurs when you device is slow or doing something in the background. You can see it easily on iOS simulator or debug mode. We tried everything for a workaround but we failed.
    Bug#3831747 - Adobe Air Initiates the wrong launch Image on iPhone 6 - Possible App Rejection by Apple Review Team for a…

    Apple recommends the storyboard/xib option but you can still use launch images as assets in your root. When you open a new project in xcode you can look at Contents.json and see the naming conventions they use for iOS8. We grabbed the new naming convention from here. Also setting up in the application xml the UILaunchImages key works too. Please see the below example. It would be a better solution if Adobe Air refers to xml/info.plist values that the developer sets instead of hard-coded naming conventions.
    <key>UILaunchImages</key>
      <array>
          <dict>
              <key>UILaunchImageMinimumOSVersion</key>
              <string>8.0</string>
              <key>UILaunchImageName</key>
              <string>Default-667h</string>
              <key>UILaunchImageOrientation</key>
              <string>Portrait</string>
              <key>UILaunchImageSize</key>
              <string>{375, 667}</string>
          </dict>

  • Why is an Active Dual sim iPhone not possible?

    Why is an Active Dual sim iPhone not possible?

    This is a user to user forum, we are all users here, just like you, Apple does not follow these discussions. If you want to tell Apple about your wishes, please use this link:
    Apple - iPhone - Feedback
    If you want to use the iPhone with more than one SIM, you'll have to buy an unlocked device or get your existing device unlocked by your carrier:
    iPhone: About unlocking

  • Is camera zoom with iphone 5 possible

    is camera zoom with iphone 5 possible?

    In iOS6.1.3 there is a slider in the bottom of the field (in Camera App), that is for zooming. You can also do it with two finger pinching.

  • ATV gen2...possible caching problem

    First off...I am using both aTV gen1 and aTV gen2 in my home off of an Airport Extreme (Dual-Band) with the aTV gen2 hooked up via Ethernet to the router.
    Now, Netflix and Youtube, and streaming music and TV shows from iTunes works flawlessly. And when I start a Movie, it starts in 5 seconds whether chosen from iPhone Remote app or the aTV menu.
    My issue is accessing the iTunes streamed movies from Hard Drive in the menu. Once I get to the genre screen and choose a genre, I get the Loading "...'s" Library with the spinning wheel for 5-15 minutes before I can see the list of movies. (Again, once selected, a movie takes 5 seconds to start)
    I have zero skipping issues in Netflix or iTunes movie streaming.
    I have tried this from a Mac and a PC with no difference. I even created a new Library on both and added a few movies at a time until it seemed to bog down. With no music or TV Shows in the test libraries, both machines seemed to bog down the genre screen after adding about 350 movies.
    I think the removal of the HDD in aTV gen2 is to blame as Apple may not have a large enough cache set on the 8GB Flash RAM to accommodate this. I believe the aTV is loading all the Movie artwork each time a genre is selected and that is taking the wait time. Maybe an update to expand the cache to 1GB of the space would fix this?
    Rebooting and restoring has done nothing and I have removed all firewalls at this point for troubleshooting. Mac is running 10.6.4 and PC is running Win7 64bit Ultimate both with iTunes 10.0.1.
    Any other suggestions out there?
    Message was edited by: LTDMac

    Hi ,
    I tried reproducing your problem with information provided by you , but was not able to reproduce. I was successful in bringing up the correct JSP pages on the click of buttons. The browsers back button takes me to the previous visited page and the button ,Action Links redirect me to the right JSP pages.
    Regards,
    Creator Team.

  • Share photos over iphone problem - possible improvement to iOS.

    Hi, 
    I haver an ipad mini and usually Share photos to a friend iphone. I found out that the sync of shared photos over icloud uses 3G/data plans and it is not possible to disable this (or is it? How?).
    This is a problem because when several friend shares photos the mobile data plan is heavily affected and it be a good idea to have this sync online by wifi, even of the iphone user acepts the Share on 3G. This would be a good option that the user could activate or not.

    Submit feedback to Apple here:
    http://www.apple.com/feedback
    Best of luck.

  • Iphone auto clear cache of apps?

    Does iphone auto clear the cache of the apps?
    i notice my FB apps' memory usage is increasing.
    Thank you

    At this point, for months I have been contacting app developers and Apple requesting the ability to clear an app's cache. I have only 1 app that I use that supports this feature - WallpapersHD.
    All apps should support cache clearing. Especially apps that bloat like: Netflix, YouTube, Amazon Instant Video, TUAW, iMore, Twitter, TWC Max, Weather [Yahoo], Trailers [Apple], Bible [YouVersion]...  Practically any and every app I have ever used that communicates with a remote server out there in the world somewhere.
    iOS needs a cache clearing option to assist in managing space because deleting and re-installing apps is a terrible way to get that space back.

  • Does the iPhone have a Cache

    I was wondering if you knew how or where iPhone Cache your musical library? 
    I recently ran into a dilemma regarding my explicit copy of "Ambitionz Az A Ridah" from 2Pac's All Eyez on Me album.  Apparently, iTunes Match has had several issues regarding matching music that is on one's home computer in an explicit version to a clean version on the iTunes Match servers.  Now the my particular problem is that I noticed this and thus turned off iTunes Match on my iPhone.  Proceeded to wipe the Music library off of my iPhone by syncing with out music then individually selecting Playlists from my Laptop iTunes.  I had thought that would solve the problem seeing as my iTunes library has the explicit version; however, much to my dismay the clean version reappeared on my iPhone.
    Moreover, I have had issues with sorting and the way my iPhone displays my playlists (i.e. not in the same order as my desktop iTunes) so this has led me to believe that there is some file stored in the inner reaches of iPhone that in order to keep sync times at a minimum looks for "similarities" in what it is that one is syncing and just reverts to a previous version.
    Any assistance regarding this matter would be greatly appreciated.

    Hi Dan,
    Yes the iPhone does have a SIM.
    This article: http://support.apple.com/kb/HT1438 will show you how to remove it.
    Jason

  • IPhone Apps - Data Cache

    When I go the iphone menu:  Setting > General > Usage, I can see the size of each App.
    Most apps are relatively small in size, but the Info & data size grows everyday as I use the apps.
    example like Facebook, the FB app is only 14MB, but my data size is more than 1.4GB.
    beside deleting the app & reinstalling, is there any way to reset this data? ... well - Apple only has a Delete button on that page.
    I know deleting & reinstalling will bring the app back to 14MB, & there's no data lost on my FB page.  But this method is not so efficient when there are hundreds of apps' data cache to clear...
    anyone has any idea how to clear this data cache for apps?

    hi pvonk,
    thanks for the pointer, I've tried that but it didn't clear the App data cache.

  • Install IOS4 UK variant on USA Iphone 3g possible?

    Need some help with this update guys.
    I have an iphone 3G from the US and now i live in the UK. I unlocked it and use it with Vodafone UK. IOS4 was too slow and i've been waiting for IOS4.1 to be released.
    Here is the question: If I update my iphone via itunes my iphone will lock up to the USA Variant of IOS4.1 (right?) and then I'll need to unlock it again? (no jailbreak available right now?).
    But I dont want to unlock/jailbreak etc my iphone.
    Is it possible that i can install the UK variant of IOS4.1 on my US Iphone?
    this is important as I cant use all the apps from the UK App store etc and some of them don't work properly.

    If you update your iPhone it will almost certainly use the US version as you call it, with all of AT&T's specific settings. Since there isn't a unlock available at this time, either official or not, I would recommend not updating if you need to use it with Vodafone.
    As a caveat, you could try calling AppleCare or AT&T customer service to see if there is an officially supported way of getting your iPhone on Vodafone. Barring that you don't want to upgrade right now.

  • Iphone battery possibly damaged. Help please!

    My laptop died while my iphone was connected to it. It damaged the cord and wouldn't charge my phone afterwards. But now my phones battery dies faster. Could my laptop have possibly damaged my battery? And what could I do about it?

    my 5c does the same thing.  did a reset (to new phone) and still drains itself overnight.  This is frustrating!!  And Apple is quiet about this?  Come on apple tech!!!!

  • Submerged iPhone - repair possible

    My iPhone was submerged while on. I am pretty sure it is a total loss. I let it dry out, then plugged it in - all it does is get really hot.
    My problem is that I live abroad (no Apple stores here) and I need to get a repair estimate or a statement that it cannot be repaired in order for my credit card to cover the damage. Is this possible without visiting an apple store? (Even just a conditional statement that said if it was submerged it will not be repairable would suffice.)
    Thanks
    -TD

    you will find all the contact information under support at apple.com -- they don't respond to e-mail, you need to talk to support who will tell you about their repair service.
    Repairs, either out of warranty or for something you break yourself (like submerging it) are 250.00 plus shipping.
    Note that they won't really repair your iPhone -- they will just send out a new one.
    If you are using a sim-unlocked phone overseas then you are out of luck, since the new one they send you will not work with anything but ATT.

  • ITunes 12, 10.8.5: COMPLETE offline iPhone Sync possible?

    Hi guys, has anyone iTunes 12 running on 10.8.5 not using iCloud? Is the complete iPhone Sync (including safari bookmarks) still offline possible? Any other problems? Thanks for your answers! Kind regards Tom

    I'm facing the same issue. The option to sync notes and bookmarks with your computer is completely missing in iTunes 12.   Apple really needs to re-add that feature.
    iCloud merges bookmarks across all devices which I hate. For security reason, I also don't upload private information on the cloud.
    I'm going to really think twice before anymore iTunes or Apple OS upgrades going forward possibly researching other computer and device options. I'm really sick of companies pushing their own agenda on paying customers.

  • IPhone 4 Possible Carriers?

    I am a potential buyer of the iPhone 4. The only thing stopping me is ATT's horrible service. I have T-Mobile as my carrier for my 20 dollar phone. Do you think it is possible for iPhone 4 to be released for other carriers?
    Do you think it is possible for Apple to have an iPhone 4 with the hardware to support Verizon, T-Mobile, and Sprint services? What are your thoughts and any info you might have on anything on this. Thanks!

    this debate has been going on for years... noone knows when and if the iphone will be on another carrier

Maybe you are looking for

  • Unable to capture files into external hard disk because of 'drop frames '

    I haven't been able to capture footage from my DV camcoder thru firewire to an external hard disk in FCP because i get a message saying 'drop frames were detected'. This happens when i selected this external hard drive as the scratch disk in FCP. Whe

  • Return Delivery without reference

    Hi all, i have one specific query. i have matl in my stock ( customer returns). i know the vendor code but i don't know the reference doc no of GR posted for that purchase order. I want to send this matl back to vendor without any reference. I can fi

  • Custom white balance and EXIF data

    Using 3.1.1 for two weeks or so, all is good for now but I have a question. After shooting the same subject with different white balance (still learning digital photography) with my D7000, a few with auto WB, a few with the camera's incandescent sett

  • HT201401 my iphone 4s went into recovery mode while i was trying to back it up, it wont restore, did i lose my data?

    my iphone went ino recovery mode when i was trying to back it up. Its recognized but when i try to restore it i get an error message, did i lose my data?

  • NACHA Process Customization

    Hello Gurus, currently we are setup to run one NACHA per payroll for a pay period. Also, we have one Payroll mapped to one consolidation set. Is there anyway we can run NACHA for multiple payrolls in one run? I understand the underlying process is sp