Images rendered differently locally and via server.

Discussion in 'iOS Programming' started by techwoman, May 27, 2015.

  1. techwoman macrumors newbie

    Joined:
    Nov 22, 2014
    Location:
    USA
    #1
    I am working on a web based app which I am testing on iPad and iPhone, both using assets present locally in resource bundle and on server.

    When the assets (css, js, images) are present locally in resource bundle, the space between 2 images is what I expect it to be (say ex: 50 px) on both iPad and iPhone. But if the assets are present on the server, then the space gap between 2 images looks pretty huge. So much that an entire another image can fit in between.

    I am trying to understand why this could be happening. After googling, I found the rendering can happen differently while using the resources locally and while using them from server. Is this right? What can I do to make it look same as what I am seeing when I test using assets in resource bundle.
     
  2. bjet767, May 28, 2015
    Last edited: May 28, 2015

    bjet767 macrumors 6502a

    Joined:
    Oct 2, 2010
    #2
    You really don't provide enough info for anyone to help.

    A .jpg or .pnf are the same no matter where stored so the issue can't be the actual image.

    You need to provide either code examples or more detail about your project and the different devices you are using the images on.

    Are you using UIWebView, Safari or something else in this app?
    Are you coding in HTML and then displaying it?
    What "assets" and how are you getting them from an app bundle in iOS?
    Are you actually writing an app for iOS or just relying on Safari?
    Too many issues to help unless you give your readers more info.
     

Share This Page