本文整理汇总了Java中apple.uikit.UIViewController类的典型用法代码示例。如果您正苦于以下问题:Java UIViewController类的具体用法?Java UIViewController怎么用?Java UIViewController使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
UIViewController类属于apple.uikit包,在下文中一共展示了UIViewController类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: mediatedNativeAdDidRecordClickOnAssetWithNameViewViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@IsOptional
@Selector("mediatedNativeAd:didRecordClickOnAssetWithName:view:viewController:")
default void mediatedNativeAdDidRecordClickOnAssetWithNameViewViewController(
@Mapped(ObjCObjectMapper.class) Object mediatedNativeAd,
String assetName, UIView view, UIViewController viewController) {
throw new java.lang.UnsupportedOperationException();
}
示例2: mediatedNativeAdDidRenderInViewViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@IsOptional
@Selector("mediatedNativeAd:didRenderInView:viewController:")
default void mediatedNativeAdDidRenderInViewViewController(
@Mapped(ObjCObjectMapper.class) Object mediatedNativeAd,
UIView view, UIViewController viewController) {
throw new java.lang.UnsupportedOperationException();
}
示例3: setRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
public void setRootViewController(UIViewController value) {
Object __old = rootViewController();
if (value != null) {
org.moe.natj.objc.ObjCRuntime.associateObjCObject(this, value);
}
setRootViewController_unsafe(value);
if (__old != null) {
org.moe.natj.objc.ObjCRuntime.dissociateObjCObject(this, __old);
}
}
示例4: setFromViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
public void setFromViewController(UIViewController value) {
Object __old = fromViewController();
if (value != null) {
org.moe.natj.objc.ObjCRuntime.associateObjCObject(this, value);
}
setFromViewController_unsafe(value);
if (__old != null) {
org.moe.natj.objc.ObjCRuntime.dissociateObjCObject(this, __old);
}
}
示例5: showFromViewControllerWithContentDelegate
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("showFromViewController:withContent:delegate:")
@MappedReturn(ObjCObjectMapper.class)
public static native Object showFromViewControllerWithContentDelegate(
UIViewController viewController,
@Mapped(ObjCObjectMapper.class) FBSDKSharingContent content,
@Mapped(ObjCObjectMapper.class) FBSDKSharingDelegate delegate);
示例6: showFromViewControllerWithContentDelegate
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("showFromViewController:withContent:delegate:")
@MappedReturn(ObjCObjectMapper.class)
public static native Object showFromViewControllerWithContentDelegate(
UIViewController viewController,
FBSDKAppInviteContent content,
@Mapped(ObjCObjectMapper.class) FBSDKAppInviteDialogDelegate delegate);
示例7: presentViewControllerAnimatedCompletion
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("presentViewController:animated:completion:")
void presentViewControllerAnimatedCompletion(
UIViewController viewControllerToPresent,
boolean flag,
@ObjCBlock(name = "call_presentViewControllerAnimatedCompletion") Block_presentViewControllerAnimatedCompletion completion);
示例8: initWithAdUnitIDRootViewControllerAdTypesOptions
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("initWithAdUnitID:rootViewController:adTypes:options:")
public native GADAdLoader initWithAdUnitIDRootViewControllerAdTypesOptions(
String adUnitID, UIViewController rootViewController,
NSArray<String> adTypes,
NSArray<? extends GADAdLoaderOptions> options);
示例9: presentFromRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("presentFromRootViewController:")
public native void presentFromRootViewController(
UIViewController rootViewController);
示例10: presentInterstitialFromRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("presentInterstitialFromRootViewController:")
void presentInterstitialFromRootViewController(
UIViewController rootViewController);
示例11: viewControllerForPresentingModalView
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("viewControllerForPresentingModalView")
UIViewController viewControllerForPresentingModalView();
示例12: presentFromRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("presentFromRootViewController:")
void presentFromRootViewController(UIViewController rootViewController);
示例13: requestNativeAdWithParameterRequestAdTypesOptionsRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("requestNativeAdWithParameter:request:adTypes:options:rootViewController:")
void requestNativeAdWithParameterRequestAdTypesOptionsRootViewController(
String serverParameter, GADCustomEventRequest request,
NSArray<?> adTypes, NSArray<?> options,
UIViewController rootViewController);
示例14: presentRewardBasedVideoAdWithRootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("presentRewardBasedVideoAdWithRootViewController:")
void presentRewardBasedVideoAdWithRootViewController(
UIViewController viewController);
示例15: rootViewController
import apple.uikit.UIViewController; //导入依赖的package包/类
@Generated
@Selector("rootViewController")
public native UIViewController rootViewController();