Giter Site home page Giter Site logo

iOS8 problem? about airprintane HOT 9 CLOSED

Queiron avatar Queiron commented on June 9, 2024
iOS8 problem?

from airprintane.

Comments (9)

janumedia avatar janumedia commented on June 9, 2024

Hi,
It seem related to 64 bit support. Prev version only support 64 bit
Please try ver 1.0.2. Let me know if fixed the issue.
I don't have AIR 14 SDK or latest yet to test

from airprintane.

Queiron avatar Queiron commented on June 9, 2024

Hi,
Thanks for the swift response, I have been able to test your update. AIR 14 works with your extension but Apple doesn't accept it anymore, they accept only AIR 16 version an higher. Any chance you can get your hands on an AIR 16 SDK or have any idea to fix it? I can test if changes were effective or not.

from airprintane.

janumedia avatar janumedia commented on June 9, 2024

Hi,

I added new iOS library using iOS SDK 8.1 and ver 1.0.3 .ane built using AIR SDK 17.
Let me know if this update this issue

from airprintane.

caraiz avatar caraiz commented on June 9, 2024

Hi,
i have tried version 1.0.3 in iOS 8 but the problem still exists.
I had found similar issues in others frameworks, i send you some links, maybe it can help you to solve the problem.

katzer/cordova-plugin-printer#43
katzer/cordova-plugin-printer#26

Thanks

from airprintane.

Queiron avatar Queiron commented on June 9, 2024

Hi,
we have also tried and as caraiz noted, the problem is still there.

from airprintane.

caraiz avatar caraiz commented on June 9, 2024

Hi,

we've gotten it to work with the following code:

if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
{
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
UIView *view = window.rootViewController.view;
[printerController presentFromRect:CGRectMake(10, 10, 0, 0) inView:view animated:YES completionHandler:completionHandler];
}
else
{
[printerController presentAnimated:YES completionHandler:completionHandler];
}

Tested in iOS 7, 8.2 and 8.3.

The screen position is fixed at 10, 10, but will be fine that in the future the "printBitmapData" method admits a custom position (Point) and/or the align in screen (top_left, top_center, ...).

from airprintane.

Queiron avatar Queiron commented on June 9, 2024

Dear Januartha,

Can you try to update the code with the one caraiz suggested? Our programmer could not find the place to insert the code piece caraiz suggested.

Thanks

from airprintane.

janumedia avatar janumedia commented on June 9, 2024

@Queiron @caraiz please check latest committed (version 1.1.0).
I add posX and posY (default value = 10) for iPad only because I think this issue only on iPad

here the complete usage:
airPrintAne.printBitmapData (bitmapData, AirPrintANE.PRINT_OUT_DOCUMENT, AirPrintANE.PRINT_ORIENT_PORTRAIT, posX, posY);

from airprintane.

Queiron avatar Queiron commented on June 9, 2024

@janumedia Thanks for all the help, tested on iPad and iPhone as well, working perfectly. Im gonna close the issue, cheers

from airprintane.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.