AirPrint Connection Refused Error

前端 未结 3 1032
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 00:19

In my iOS app, I have the following code that is being used for AirPrinting a simple NSString.

#pragma mark - Print
-(IBAction)print:(id)sender {

    UIPrin         


        
3条回答
  •  半阙折子戏
    2021-01-03 01:09

    I had printer simulator stop working for me and not give me any errors at all. I tried different simulators, resetting them, restarting the computer, killing printd as mentioned above, and other things too.

    In the end, what fixed it for me was changing my network connections: at the time, i had wifi plus an ethernet cable (via thunderbolt) attached to my macbook -- both wifi + ethernet connected to the same network. I popped out the ethernet cable and immediately it started working again.

    Thanks Apple, where can I get my 20 mins back :)

提交回复
热议问题