Basically Im attempting to take a php / jquery / css / html web app that is hosted remotely, and embed it in an iframe inside of a uiwebview in objective c using the big5 framework. I have my iframe set up and the web app is coming in correctly. My issue now is that I need to improve loading and performance. The easiest way to do this I think is to host all of the images locally. I've read that I can change the baseURL so that I can access local file system images, but I havent found anything suggesting that this is possible with an iframe and remote files, only local html files. Is there any way to do this? I found something else suggesting javascript injection on load? What would I have to do , load the page, wait for it to finish loading, inject into my css files the relative path to the images? will this work? is there an easier solution? or am I hopeless? haha. thanks
Can I access local images from an iframe inside of a uiwebview?
676 Views Asked by prestonparris At
1
There are 1 best solutions below
Related Questions in IPHONE
- UIWebView Screen Fitting Issue
- ios responsive design not working (too wide in portrait orientation)
- Setting View orientation to portrait is ignored
- How do I add custom cells to TableView in Swift?
- UIWebView not loading URL in simulator
- What is the limit for number of subscribers to a stream(publisher's) in opentok/tokbox iOS SDK?
- How to generate request format for WCF web service method for Mac and iPhone
- Difference between gethostname() and [NSProcessInfo hostName]?
- How to force close ipad/iphone keypad when input element is not focused using JS?
- iOS app rejected because of in-app purchase
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Labels properties changing in Xcode
- Terminating app due to uncaught exception
- Exchange plist data between 2 iPad using iCloud
Related Questions in IPHONE-SDK-3.0
- Access the dynamically loaded Labels in UIScrolView
- Localization for iPhone apps - what's your approach?
- Getting exception when try to PresentModalViewController
- Detect taps of links/numbers in UITextView
- What is Cocoa Studio
- is there any easy way to get Date?
- Writing to iPhone keychaing using apple KeyChainItemWrapper
- Load all the Contacts from iphone PhoneBook in a variable
- iphone Dev. How can I make my app compatible with iOS 3 and iPads at the same time (iOS 4.2)
- Get latitude and longitude for map click
- Help me to play video on iPhone App
- Is it easy to make 2 language versions for iPhone (Japanese)?
- NSMutableAttributedString on iOS 3.1.3
- My developer didn't use Interface Builder, is that a bad thing?
- how to create animation of sparkling effect for iphone using cocos2d or Quartz core
Related Questions in UIWEBVIEW
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- Cannot select individual words with fixed layout .epub documents
- UIWebView not loading URL in simulator
- Optimize HTML5 for UIWebView
- Use local resources in WKWebview
- UIWebView Image Upload reloading webview Objective c
- How to implement delegate for open source browser SVWebViewController?
- getSelection() don't work in UIWebView iframe
- Customizing Mapbox Callout with HTML on iOS
- Getting return value from JavaScript in UIWebView
- calculating UIWebView height with images gives wrong answer
- EXC_BAD_ACCESS when performing a segue to ViewController with a UIWebView?
- How can I show Google Maps into a WebView?
- Image inside html in UIWebview not fit properly
Related Questions in BIG5
- How to format bytes from strings to hex values
- perl Encode qw/encode decode/ redefined Encode.pm
- How to submit form with data converted into Big5
- Check if a character is Traditional Chinese in Big-5 (Java)?
- how to get big5 urlencode in node.js?
- Is it possible to change the code page of a running console from another process?
- ImageMagic is annotating the character codes rather than the characters in annotateimage
- Changing charset in $.ajax?
- Insert Chinese character into MySQL through node.js
- How to use Big5 encoding in Swift on iOS
- Possible to repair garbled Chinese filenames?
- Can I access local images from an iframe inside of a uiwebview?
- Converting ASCII to BIG5 encoding in Unix
- HTML content encoded, started with '&#' sign
- Java string encoding(getBytes not working)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could store the images as base64-encoded data, and load them via the
data:URI scheme.