GithubHelp home page GithubHelp logo

Comments (7)

cloud-hot avatar cloud-hot commented on August 16, 2024 1

ok,谢谢!不过我刚才找到问题了

  • (void)createPayment:(NSString *)charge viewController:(UIViewController *)viewController appURLScheme:(NSString *)scheme delegate:(id)delegate attribute((deprecated));
    中有UIViewController但是Pingpp.h中却没有 import UIKit/UIKit.h

这样就需要import Pingpp.h时前面必须先 import UIKit/UIKit.h

这个要求合适吗?

from pingpp-ios.

cloud-hot avatar cloud-hot commented on August 16, 2024

图片怎么都上传不上去

  • (void)createPayment:(NSString *)charge viewController:(UIViewController *)viewController appURLScheme:(NSString *)scheme delegate:(id)delegate attribute((deprecated));
    这段报“swift compiler error expected a type”

from pingpp-ios.

samurai00 avatar samurai00 commented on August 16, 2024

我这边编译没问题。你贴的这段是废弃的方法。你调用的是这个方法吗?

Pingpp.payWithOrderNo("ordernoabcdefgjksld", amount: 10, display: [], serverURL: "http://192.168.1.123/tests/pay.php", viewController: self) { (result, error) -> Void in
    if error != nil {
        println(error.code.rawValue)
        println(error.getMsg())
    }
    println(result)
}

from pingpp-ios.

cloud-hot avatar cloud-hot commented on August 16, 2024

没有,我只是将这个header放到bridge header中先编译,没有调用任何api

Xcode6.4

你那边能否提交一个swift的example,类似其他branch中的example

from pingpp-ios.

cloud-hot avatar cloud-hot commented on August 16, 2024

我使用的是alipay_wx_upmp_checkout branch 如果是master branch的话里面的swift example我也可以编译过的

from pingpp-ios.

samurai00 avatar samurai00 commented on August 16, 2024

@cloud-hot example 发你邮箱了,你试一下。

from pingpp-ios.

allenwong avatar allenwong commented on August 16, 2024

@samurai00 您也可以发这个 Swift Example 到我的邮箱吗?或者您方便更新上来吗?
[email protected]

from pingpp-ios.

Related Issues (20)

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.