方法创建并显示确认iOS SDK

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了方法创建并显示确认iOS SDK相关的知识,希望对你有一定的参考价值。

Use like this: [self showConfirmation:@"May we send you information and offers by Email?" withMessage:@"1 email per week maximum"];
  1. - (void) showConfirmation:(NSString*)title withMessage:(NSString *) message {
  2. UIAlertView* confirmationView = [[UIAlertView alloc] initWithTitle:title
  3. message:message
  4. delegate:self
  5. cancelButtonTitle:NSLocalizedString(@"No", @"")
  6. otherButtonTitles:NSLocalizedString(@"Yes", @""), nil];
  7. [confirmationView show];
  8. [confirmationView release];
  9. }

以上是关于方法创建并显示确认iOS SDK的主要内容,如果未能解决你的问题,请参考以下文章

如何使用 Swift 使用此代码片段为 iOS 应用程序初始化 SDK?

片段创建的 Intent 不会触发 onNewIntent

有没有办法使用相同的布局动态创建片段并向它们显示数据?

Asynctask结果显示重新创建片段后

Branch.io Cordova SDK 不生成链接

Android 片段隐藏显示 OnHide/OnShow?