【发布时间】:2012-12-31 23:01:10
【问题描述】:
我在 ViewController 中没有看到 Paypal 按钮。
UIButton *button = [[PayPal getPayPalInst]getPayButtonWithTarget:self andAction:@selector(payWithPayPal) andButtonType:BUTTON_278x43];
以上是我的代码。我没有得到任何ButtonType。它在 Log 中向我展示了这个...
Printing description of button:
<nil>
而不是这个...
Printing description of button:
<UIButton: 0x72c6020; frame = (0 0; 278 43); opaque = NO; layer = <CALayer: 0x72bc910>>
我是 iPhone 新手,所以任何想法都会对我有很大帮助。 谢谢。
【问题讨论】:
标签: ios cocoa-touch paypal