IPad UIWebView and different versions of XCode

I have an iPad app with a UIWebView which loads some local .rtfd.zip files. The problem is that if I compile the app with XCode 3.2.2, everything works fine, but if I compile it with newer versions of XCode, I just get a blank UIWebView. Here's how I load the files into the UIWebVIew:
- (void)loadFile:(NSString*)file
NSString* resourcePath = [[NSBundle mainBundle] bundlePath];
NSString* sourceFilePath = [resourcePath stringByAppendingPathComponent:file];
NSURL* url = [NSURL fileURLWithPath:sourceFilePath isDirectory:NO];
NSURLRequest* request = [NSURLRequest requestWithURL:url];
[webview loadRequest:request];
[resourcePath release];
All the testing is done in the simulator.
Can you help me?
Thanks in advance!

I have the same problem and still investigating the cause. From a bit a searching, it seems that it may be caused by the way I set up my UIWebView to receive taps (I subclassed a UIView that wraps a UIWebView).
Here is a promising post about the solution:
http://mithin.in/2009/08/26/detecting-taps-and-events-on-uiwebview-the-right-way /

Similar Messages

  • Xcode using wrong and different version of GCC for linking

    I have had this problem with Xcode for several versions now. I am working on plain old C code, but I am using OpenMP. The code compiles just fine with gcc-4.2. If I set up a target to compile the code with OpenMP support and using version 4.2 of gcc, it again compiles just fine...until it gets to the link phase. It then suddenly decides to try linking with gcc-4.0 instead of 4.2. And therefore, it fails because it can't find any of the OpenMP libraries. Anybody else have this issue? Is there a setting somewhere I'm missing? I've got a nasty hack where I made gcc-4.0 a softlink to gcc-4.2. It works, but this is of course distasteful. A real solution would be nice.
    Note, I have not tried creating a brand new project file..that's a lot of work as there are many files and targets involved. But I will try it if I have to.
    Current version of Xcode is 3.1.3. Thanks again.
    David

    Not really, unless the answer is to build a whole new project file. I found this discussion earlier, but it didn't really provide any new information except the idea of creating a new project file. But like I said, if I have to do this, I will. But I don't want to go through the effort if there is a simpler solution...and without knowing for sure that it will even work.
    Thank you very much for your reply.
    Is there some defaults file I can check for what linker is used for a target? Some file I can edit directly?

  • Partition Restore Cold Backup Different System and Different Version DB

    Is it possible, can we restore the cold backup at different database version and different operating system(but same ENDIAN_FORMAT) ????????
    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .
    If it is possible. How can i do this.

    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .1. AFAIK you can not do it i mean wiht cold backup move from HP to linux
    2. You can try to use exp-imp if you want to change db version.
    See below notes:
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Regard
    Helios

  • Facetime not working on iPad 2 and Mac Version

    Regards to all the members of the community.
    I just bought an iPad 2 and wanted to facetime with my dad (Different locations, both on iPads). However as my dad dialed I did not get the iPad 2 to ring or notify me of an incoming call. Oddlt when I called him, his iPad did ring but when he answered, while his iPad tried to connect, mine kept ringing and ringing and ringing...
    So I tried facetime from my iPhone to his iPad and viceversa, and it worked like a charm. Then on the mac and I had the same issued that on the iPad 2. My apple ID is working and I have 3 email addresses verified and linked to it (.mac, .me and .gmail). This is very odd and would like to see if you guys could help me out.
    Oh and before any of you tells me to turn Facetime on on the iPado or to visit the "Using iPad" link, beleive me I've already have and there are no answers regarding this issue. There are other discussions on the forums talking about the same issue. So can an apple Rep please see to this as soon as possible?
    Thanks.

    Joe-
    I suspect there are some serious kinks to be addressed in Facetime. I too bought ipad2 and have gone around and around for hours trying to connect just to my iMac (after buying the FT app for it). None of the tech help worked, it always goes on to 'oh, it must be your firewall or something. I finally called tech help and he just sent me more links, which I wasted more time on. Each device wouuld show my face, dial the other device, NOT connect, or say the other was busy. THEN, I thought, oh, each device must use a different email address, so it won't 'be busy'. Nothing.  After an hour of going back and forth, turning off firewalls and the Symantic firewall, etc. I gave up. Each device would only show my face on it, but not broadcast one to the other. It's funny how easy it was to get Skype, dial a number and be talking to someone in Europe minutes later, no problem! Why is FT so arcane and complicated?? I thought Apple stuff was susposed to be easy and intuitve?? Obviously not anymore. God, this is as bad as trying to set up a new router.

  • How to install two different versions of Xcode??

    Hi All,
    I have Xcode 5.1.1 already installed on my mac.I want to install Xcode 6 beta on my mac without removing the older versions.How can I do this??
    Regards.

    Simple add/install Xcode6-Beta by name to /Applications and go - don't change the name. They are designed to sit side/by/side.
    Just remember that both versions will use the same recents list of projects, so be careful using deliverables with the beta - always have a tested and reliable backup.

  • Zmg and different version of ZCM?

    Hi all,
    We are in the (perhaps) odd place where we have 2 sites, one is at ZCM11.3, the other is at 11.2.4. I build all images for both sites (ZCM11.3) and them move the images to where they need to be.
    My question is, will an image created with ZCM11.3/with tuxera, be able to be properly restored using a ZCM11.2.4 PXE server/environment?
    We are seeing restores that seem to fail with 'Failure to write a Linux hard link error, wanted to verify it's not version related?
    Thanks.

    Originally Posted by mickers
    Hi all,
    We are in the (perhaps) odd place where we have 2 sites, one is at ZCM11.3, the other is at 11.2.4. I build all images for both sites (ZCM11.3) and them move the images to where they need to be.
    My question is, will an image created with ZCM11.3/with tuxera, be able to be properly restored using a ZCM11.2.4 PXE server/environment?
    We are seeing restores that seem to fail with 'Failure to write a Linux hard link error, wanted to verify it's not version related?
    Thanks.
    I just upgraded the imaging part to 11.3. We are still on 11.2. Works just as before with tuxera.

  • CS3/CS4 - Persistent data and different versions of plugin

    Hi there,
    In my plugin I have persistent data on e.g., the document and page items.
    Say that I'm in version 1.0 of my plugin has a single persistent data field on the document, and that is wish to add a second field for version 1.1.
    Does the SDK contain some form of functionallity for merging an old document into a new one that conform with the new fields?
    Basically, my problem is that I do not know if I'm allowed to read the new persistent field in my ReadWrite function, since the current document could be created using version 1.0.
    I guess that one solution is to tag the document with a version, and use that to determine the functionality of the ReadWrite function? However that do not seem as the most elegant solution...
    I hope somebody understands my problem, and has a more sophisticated solution
    Thanks
    Kind regards Toke

    There are basically two ways to deal with this situation.
    The first is to let InDesign treat your data as a blob, include your own version number in the blob and parse the blob yourself based on the version number.  In this scenario you generally keep your plug-in's version resources the same, so InDesign doesn't know you've changed data formats.
    The second is the InDesign way, in that you define a schema resource for each format version of your plug-in.  Doing this places constraints on your data, in that changes have to be moderately simple so that InDesign can apply changes to the older versions of your data to bring them up to the current schema.
    See Schema.fh in the SDK.
    The sample /Adobe_InDesign_CS4_Products_SDK/source/sdksamples/framelabel/FrmLbl.fr also uses schema resources.
    The key is to be careful about syncing changes in your data with changes to your plug-in's format version numbers, as well as keeping your data simple enough for the schema system to update it.  If you don't, then you need to get into schema updating code and a bunch more work.
    Jon

  • I just bought an ipad air and the versions of both itunes and icloud on it are too old to be able to restore from backup.  why would apple do this if it is not supported???

    should I set it up as a new device?

    I haven't done it. But if you set it up as new, just long enough to be able to update the operating system. Then go in and 'erase all content and settings'. This puts your iPad back to its out of box state, just not the operating system. You can then set your iPad up again, but this time you restore it from the backup of your old one.

  • Webutil and different versions of Java Plug-in

    Hi Guys!
    Our 10g Forms work fine on Java Update 7, but applet doesn't start up if we use Java Updates 10 and up.
    Oracle Support says that starting Update 10 it is a complete rewrite from SUN and they advise us to stay with Update 7.
    But we have other web apps that are working with Update 11... so there is a problem.
    I noticed that java applet when on Update 10 and up gets stuck when trying to load JACOB.JAR which is part of webutil. It just freeze and nothing happens. When I remove webutil entries from formsweb.cfg, the applet starts up fine and I get a database login screen but forms of course don't work because they need webutil.
    Who had the same problem please advise.
    Thanks,
    Dmitri

    It only need one try uninstalling both then reinstalling 1.3.0_02 jre's always get screwed up during uninstall or if you are running multiple versions

  • Master iPad configurator question concerning cart syncing with different versions of iPads.

    I have a question concerning configurator syncing.Can the master iPad be a different version of iPad than the other synced iPads? For instance can iPad 2 be the master iPad to a group of iPad Air's? The iPad 2 has some fewer capabilities than the Air, would some settings or restrictions be left off of the iPad Airs if they were set up this way?  Thanks.

    There is no such thing as 'master iPad'.  If you're using Configurator or Profile Manager control of the setup is done from a Macintosh.

  • Actual and Plan Versions annual view - Multiple versions per company code

    Good Day,
    Iu2019m creating an FI-CO query with an annual view of both Actuals and Plan Values, which uses period and version as input values. The dilemma is around the plan versions which are hardcoded per company codes (eg. 1 Company Code = versions 501 u2013 512)
    Can anyone suggest a possible solutions as normally there is only one version used for planning but in this instance there are multiple versions per Company Code.
    Currently the report is hardcoded for one Company Code and going forward it should cater for more than one(Company Company* 12 Version)
    Kind Regards

    Remove restriction on comp code. There could be 2 models.
    1. Include comp code, value type and version in the rows. This way you get multiple records for a comp code. One record for actual data and one record each for plan versions. To have this model at the query, the data model in the cube also should be in this way (what we call as the account model), multiple records differentiated into actual/plan by valuetype and different versions by version.
    2. Include comp code in rows. Create selections, one for actuals (restrict with key fig and value type 10, actuals), one for each plan versions (restrict key fig with value type 20, version 501. Create one selection for each version this way). This way we have one record per comp code with diff key fig for actual and plan versions. We call this as key fig model. To have this model at the query, the data model in the cube could be account model or key fig model. If it is key fig model then no need of selections. The key fig could be taken directly from the cube.

  • I installed MAC LION OS X , which version of xcode is supported. i tried for it more than 3 days

    Hi All,
    I am new to MAC, i installed MAC os in windows 7 through the VM Ware, i tried to install xcode 4.1 and many version of xcode, after i download the .dmg file when i open it "xcode icon" is blocked, when double click it, says Update the version.
    If i try to update after 2 hours and 99% updation, i get a message updation failed.
    Please let me know which version of xcode can be installed in mac os x lion 10.7  or how do i update my mac os without any error.
    Thanks for the help
    Regards
    Ram

    Hi mende1,
    I downloaded the xcode from window7 , and transfer the file from window7 to mac. And there i try to install i get the error which i said above.
    Today i tried to install directly from the apple store, it say update "Mac Os to be updated 10.7.4"   I am using 10.7
    When i click update my OS after 2 hrs, i get message "Updation Failed"  so how to update ?
    Thanks for your prompt reply.

  • Do some app publishers allow use of both the ipad and iphone versions, even if different?

    Do some app publishers allow use of both the iPad and iPhone versions, even if one is coded differently for the iPad? Buy one and get both.

    Thanks,
    I was on the CAMRA web site
    http://m.camra.org.uk/support.php?tp=f&si=1&ai=29&qi=19&mob=0
    Their language makes it abiguous. When you go to the apps store there are two versions.

  • My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If I try to add the email address that I now use (and which is my Apple ID on the computer), it won't allow me to add it.

    My iPad has a different Apple ID than the Apple ID on my computer. The iPad Apple ID has an email address that I no longer use. If (while on the iPad) I go to My Apple ID and try to change or add the email address that I now use (and which already is my Apple ID on the computer), it won't allow me to add it. It says : "Email address is already verified for another Apple ID"  I haven't really been aware of this as a problem until I tried (for the first time) to sync my iPad to the computer and became aware that certain things wouldn't transfer. What is the solution to this?

    What are you having problems with ?
    This post was about having updated the primary email address on an iTunes account via a computer - if you do that you might need to log out of the account on an iPad by tapping on the id in Settings > iTunes & App Store and then log back in with the updated version of the account for that email address change to be recognised on your iPad. If you don't log out and back in then an iPad (or iPhone or iPod Touch) might continue to show the old version of the iTunes account id.

  • IPad 3 and iPhone 4S won't synch with iTunes on Mac book pro. Error message says I need to have version 10.6.3 pr later for iTunes.

    iPad 3 and iPhone 4S won't synch with iTunes on Mac book pro. Error message says I need to have version 10.6.3 or later  for iTunes.  Mac iOS version 10.5.8 and iTunes on Mac is 10.6.1. iPad and iPhone version is 6.0(10A403). When I check for updates on the Mac book pro it says software versions are up to date.
    When I check for iTunes version  10.6.3 it looks like it is for snow leopard operating system which I am not on. How to I get my devices to sync with computer. Everything worked prior to iOS 6 upgrade on remote devices.

    I'm having the same problem.
    iPhone 4s won't sync with my Macbook Pro.
    I iust updated the iPhone to iOS6 (thought it wasn't syncing before the update either).
    Macbook Pro running Mac OS 10.5.8
    iTunes 10.6.3 (i.e. latest update - which hasn't had an issues apart from syncing).
    I tried 3 different USB sync cables. Still not syncing.
    Do I really have to update my Mac OS to 10.6.8 in order to sync my phone ? I thought as long as you have iTunes 10.6.3 you're ok...
    Is there a way to update to Mac OS 10.6.8 (or later) without wiping the hard drive and doing a new install?..
    thanks

Maybe you are looking for