How to open image picker for app just support landscape mode?

4,638 views
Skip to first unread message

Tran Quoc Anh

unread,
Mar 3, 2014, 3:11:39 AM3/3/14
to rob...@googlegroups.com
Hi all,
 I'm writing a game use Libgdx and just support landscape mode only. But when I open image picker (use UIImagePickerController), I get this error: 
"Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES"

This's my code:

private void getImageByTye(UIImagePickerControllerSourceType type,

final IActionListener listener) {

final UIViewController uiViewController = ((IOSApplication) Gdx.app)

.getUIViewController();

UIImagePickerController imagePicker = new UIImagePickerController();


uiViewController.addChildViewController(imagePicker);

uiViewController.getView().addSubview(imagePicker.getView());


imagePicker.getView().setBounds(uiViewController.getView().getBounds());


imagePicker

.setSourceType(UIImagePickerControllerSourceType.PhotoLibrary);

UIImagePickerControllerDelegate delegate = new UIImagePickerControllerDelegate.Adapter() {

@Override

public void didFinishPickingMedia(UIImagePickerController picker,

NSDictionary info) {


String imageUrl = info.get(

new NSString("UIImagePickerControllerReferenceURL"))

.toString();

System.out.println(imageUrl);


}

};

imagePicker.setDelegate(delegate);

imagePicker.addStrongRef((ObjCObject) delegate);

}


Please help me. Thanks.

Niklas Therning

unread,
Mar 3, 2014, 3:25:44 AM3/3/14
to Tran Quoc Anh, rob...@googlegroups.com
This is an iOS problem and not a RoboVM specific problem. According to Apple's docs "The UIImagePickerController class supports portrait mode only." Others have been seeing this problem, e.g. http://stackoverflow.com/questions/12522491/crash-on-presenting-uiimagepickercontroller-under-ios-6-0 though according to that thread this problem only occurs on particular iOS versions.


--
You received this message because you are subscribed to the Google Groups "RoboVM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robovm+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Tran Quoc Anh

unread,
Mar 3, 2014, 4:04:11 AM3/3/14
to rob...@googlegroups.com, Tran Quoc Anh
I've teste on my iPhone 4 which software version is 7.0.6 and I think many devices will have the same problem. I also read some tips about this problem but it make me confuse. In x-code project, I've created a class and compile it to .a file:
 @implementation UIImagePickerController (NonRotating)

    - (BOOL)shouldAutorotate
    {
        return NO;
    }

    -(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
    {
        return UIInterfaceOrientationPortrait;
    }

    @end
But in eclipse java project I dont know how to bridge it. Can you help me please? Thanks

Niklas Therning

unread,
Mar 6, 2014, 3:05:29 AM3/6/14
to Tran Quoc Anh, rob...@googlegroups.com
Try to create your own subclass of UIImagePickerController and use that:

public class MyImagePickerController extends UIImagePickerController {

    public boolean shouldAutorotate() {
        return false;
    }

    public UIInterfaceOrientation getPreferredInterfaceOrientation() {
        return UIInterfaceOrientation.Portrait;
    }

}

NeuroDigital Technologies

unread,
May 9, 2014, 10:10:15 AM5/9/14
to rob...@googlegroups.com, Tran Quoc Anh
Dear Niklas,

It still happens even with the hack you proposed:
"Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES"
Any way to get solved?

Many thanks in advanced!
Best regards,
Luis.

NeuroDigital Technologies

unread,
May 10, 2014, 12:35:43 PM5/10/14
to rob...@googlegroups.com, Tran Quoc Anh
I have posted a continuation here:

NeuroDigital Technologies

unread,
May 12, 2014, 5:48:30 PM5/12/14
to rob...@googlegroups.com, Tran Quoc Anh
Would be possible to lock App landscape orientation even though portrait and landscape are supported in info.plist.xml, and switch orientation when opening the camera or gallery?

It is the only solution I think it would work, unless you have other idea :-)
MyImagePickerController doesn't work, it returns that shouldAutorotate() is False, but the problem comes from the UIViewController that is embebdded in IOSApplication.

Many thanks in advanced!
Regards,
Luis. 

NeuroDigital Technologies

unread,
May 13, 2014, 4:34:19 PM5/13/14
to rob...@googlegroups.com, Tran Quoc Anh
Hi all again, sorry for being so boring ;-)

I think my problem is that apart from overriding MyImagePickerController, I must Override my UIViewController:

UIViewController controller =((IOSApplication) Gdx.app).getUIViewController();


But if I create MyUIViewController with:

public class MyUIViewController extends UIViewController{

    @Override

public boolean shouldAutorotate() {

        return true;

    }

    

@Override

public UIInterfaceOrientationMask getSupportedInterfaceOrientations(){

return UIInterfaceOrientationMask.Landscape;

}


And put:

MyUIViewController myvc =(MyUIViewController) ((IOSApplication) Gdx.app).getUIViewController();


It crashes complaining about an impossible casting:

Exception in thread "main" java.lang.ClassCastException: com.badlogic.gdx.backends.iosrobovm.IOSGraphics$IOSUIViewController cannot be cast to com.myApp.demo.MyUIViewController


Any idea? Many many thanks in advanced!

Best regards,

Luis.

Niklas Therning

unread,
May 13, 2014, 5:30:51 PM5/13/14
to NeuroDigital Technologies, rob...@googlegroups.com, Tran Quoc Anh
Don't do that. I just had a look at your code you posted at SO and I think your doing things wrong. These lines:

    controller.addChildViewController(imagePicker);
    controller.getView().addSubview(imagePicker.getView());

are weird.

If you want your view controller to take control you should probably replace the libgdx view controller. Either by a call to UIWindow.setRootViewController(). Or by calling UIViewController.presentViewController() on the libgdx view controller passing in your view controller. When your image picker is dismissed I guess you will want to go back to the libgdx view controller by calling dismissViewController() on the libgdx view controller.


For more options, visit https://groups.google.com/d/optout.

NeuroDigital Technologies

unread,
May 14, 2014, 10:25:33 AM5/14/14
to rob...@googlegroups.com, NeuroDigital Technologies, Tran Quoc Anh
Hi all! Here I come again :-)

First of all, big thanks to Niklas. Now I think I have the right code in my class and I am able to do all stuff I need but only when portrait mode is enabled. Only landscape config is a big crash with: 

Organizer - Devices - Console:
May 14 15:42:12 iLuis IOSLauncher[7215] <Error>: *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

Eclipse:

14/05/14 15:42:13: [ERROR] AppLauncher failed with an exception:

14/05/14 15:42:13: [ERROR] java.lang.RuntimeException: Unexpected response from debugserver: $X00#00

14/05/14 15:42:13: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launchInternal(AppLauncher.java:708)

14/05/14 15:42:13: [ERROR] at org.robovm.libimobiledevice.util.AppLauncher.launch(AppLauncher.java:814)

14/05/14 15:42:13: [ERROR] at org.robovm.compiler.target.ios.AppLauncherProcess$1.run(AppLauncherProcess.java:67)


when I enable portrait in Info.plist.xml, I get from my debug vars:

Root VC - Supported orientations: UIInterfaceOrientationMask(0x1a = AllButUpsideDown(0x1a))

Root VC - Should Autorotate: true

MyImagePicker - Supported orientations: UIInterfaceOrientationMask(0x1e = All(0x1e))

MyImagePicker - Should Autorotate: false


So, I believe that MyImagePicker is performing as required and the problem comes from RootViewController.

How to override ShouldAutorotate or getSupportedInterfaceOrientations() of my RootViewController?

Why if it is returning 0x1a = AllButUpsideDown(0x1a), it fails even when landscape it is supposed to be in 0x1a?


My app is landscape only and it issue avoids me finishing the App. Please, could yo help me?

Any advice Niklas?


Sources:

MyImagePickerController: This works perfect upon it enters in camera or gallery!


public class MyImagePickerController extends UIImagePickerController {

    @Override

public boolean shouldAutorotate() {

        return false;

    }

    

@Override

public UIInterfaceOrientationMask getSupportedInterfaceOrientations(){

return UIInterfaceOrientationMask.All;

}

@Override

public UIInterfaceOrientation getPreferredInterfaceOrientation(){

return UIInterfaceOrientation.Portrait;

}

}


IOSLauncher: I think problem is that RootViewController needs to be overridden, but I don't know how to do that. Need help please!


public class IOSLauncher extends IOSApplication.Delegate implements ImagePicker {

byte[] byteArray = null;


@Override

protected IOSApplication createApplication() {

IOSApplicationConfiguration config = new IOSApplicationConfiguration();

MyApp myApp = new MyApp(this, null, null);

config.orientationLandscape = true;

config.orientationPortrait = false;

IOSApplication myIOSApp = new IOSApplication(myApp, config);

return myIOSApp;


}


public static void main(String[] argv) {

NSAutoreleasePool pool = new NSAutoreleasePool();

UIApplication.main(argv, null, IOSLauncher.class);

pool.close();

}


@Override

public void openGallery() {


MyImagePickerController imagePicker = new MyImagePickerController();


imagePicker

.setSourceType(UIImagePickerControllerSourceType.PhotoLibrary);


UIWindow keyWindow = UIApplication.getSharedApplication()

.getKeyWindow();

UIViewController rootVC = keyWindow.getRootViewController();

rootVC.presentViewController(imagePicker, true, null);

System.out.println("Root VC - Supported orientations: "

+ rootVC.getSupportedInterfaceOrientations());

System.out.println("Root VC - Should Autorotate: "

+ rootVC.shouldAutorotate());

System.out.println("MyImagePicker - Supported orientations: "

+ imagePicker.getSupportedInterfaceOrientations());

System.out.println("MyImagePicker - Should Autorotate: "

+ imagePicker.shouldAutorotate());

UIImagePickerControllerDelegateAdapter delegate = new UIImagePickerControllerDelegateAdapter() {


@Override

public long getSupportedInterfaceOrientations(

UINavigationController navigationController) {

System.out.println(navigationController

.getSupportedInterfaceOrientations());

// TODO Auto-generated method stub

return 0x18;

}


@Override

public UIInterfaceOrientation getPreferredInterfaceOrientation(

UINavigationController navigationController) {

// TODO Auto-generated method stub

return UIInterfaceOrientation.LandscapeLeft;

}


@Override

public void didFinishPickingImage(UIImagePickerController picker,

UIImage image, NSDictionary info) {

NSData misbites = image.toPNGData();

byteArray = misbites.getBytes();

System.out.println(byteArray);

picker.dismissViewController(true, null);

// TODO Auto-generated method stub


}

};

imagePicker.setDelegate(delegate);

imagePicker.addStrongRef((ObjCObject) delegate);

}



Many thanks in advance!

Best regards,

Luis.

Matthew Robinson

unread,
May 15, 2014, 2:03:50 AM5/15/14
to rob...@googlegroups.com, NeuroDigital Technologies, Tran Quoc Anh
I may be way off base here, but if I understand correctly, you have a libgdx application and want to override the shouldAutorotate() and getSupportedInterfaceOrientations() methods of the root view controller?

Just two days ago, I had a similar issue in that my application normally runs the libgdx view controller in landscape mode, but there are some iOS specific view controllers (VC) that are presented and run in portrait mode. The problem I was having was that whilst each presented VC could correctly return "true" for shouldAutorotate() and could return the correct mask from getSupportedInterfaceOrientations(), when returning to the libgdx VC from a portrait presented VC, the orientation would not return to landscape, as set by the libgdx IOSApplicationConfiguration settings.

My solution was to make several changes:
First, I ensured that the info.plist contained LandscapeLeft, LandscpaeRight, and Portrait orientations, with LandscpeLeft listed first to ensure that the application launches in that orietnation.
Second, I made sure each of my presented VCs contained the following code to allow all orientations, but prefer Portrait:


    @Override
    public UIInterfaceOrientationMask getSupportedInterfaceOrientations() {
        return UIInterfaceOrientationMask.All;
    }


    @Override
    public UIInterfaceOrientation getPreferredInterfaceOrientation() {
        return UIInterfaceOrientation.Portrait;
    }

    @Override
    public boolean shouldAutorotate() {
        return true;
    }

    @Override
    public boolean shouldAutorotate(UIInterfaceOrientation toInterfaceOrientation) {
        return true;
    }

Third, I modified the libgdx file backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/IOSGraphics.java to override getSupportedInterfaceOrientations() to return a mask derived from the libgdx IOSApplicationConfiguration settings. This change has now been pulled into the libgdx repo on GitHub and is available in the nightly builds. See https://github.com/libgdx/libgdx/commit/68ce111b5136b29f4c4977d7e2c3ae09e1ff2a83 for details.

Hope that helps.

NeuroDigital Technologies

unread,
May 15, 2014, 6:43:09 AM5/15/14
to rob...@googlegroups.com, NeuroDigital Technologies, Tran Quoc Anh
Dear Matthew, big thanks for your answer. Unfortunately I am still stuck with same issue.
I have tried to subclass all UIViewControllers and ImagePickers and same problem here.

If I code:
MyImagePickerController:

public class MyImagePickerController extends UIImagePickerController {

    @Override

public boolean shouldAutorotate() {

        return false;

    }

    

@Override

public UIInterfaceOrientationMask getSupportedInterfaceOrientations(){

return UIInterfaceOrientationMask.All;

}

@Override

public UIInterfaceOrientation getPreferredInterfaceOrientation(){

return UIInterfaceOrientation.LandscapeLeft;

}

}


MyUIviewController

public class MyUIViewController extends UIViewController{

    @Override

public boolean shouldAutorotate() {

        return false;

    }

    

@Override

public UIInterfaceOrientationMask getSupportedInterfaceOrientations(){

return UIInterfaceOrientationMask.All;

}

@Override

public UIInterfaceOrientation getPreferredInterfaceOrientation(){

return UIInterfaceOrientation.LandscapeLeft;

}

}


Info.plist.xml: My App cannot be in portrait anyway, it only can draw in landscape.


<key>UISupportedInterfaceOrientations</key>

    <array>

        <string>UIInterfaceOrientationLandscapeLeft</string>

        <string>UIInterfaceOrientationLandscapeRight</string>

    </array>


IOSLauncher:


public void openGallery() {


final UIWindow keyWindow = UIApplication.getSharedApplication()

.getKeyWindow();

System.out.println(UIApplication.getSharedApplication()

.getSupportedInterfaceOrientations(keyWindow)); //It returns 24. What does it mean?

MyUIViewController rootVC = new MyUIViewController();

final UIViewController originalRootVC = keyWindow.getRootViewController();

keyWindow.setRootViewController(rootVC);


System.out.println("Root VC - Supported orientations: "

+ rootVC.getSupportedInterfaceOrientations());

System.out.println("Root VC - Should Autorotate: "

+ rootVC.shouldAutorotate());


MyImagePickerController imagePicker = new MyImagePickerController();


imagePicker

.setSourceType(UIImagePickerControllerSourceType.PhotoLibrary);

rootVC.presentViewController(imagePicker, true, null);


System.out.println("MyImagePicker - Supported orientations: "

+ imagePicker.getSupportedInterfaceOrientations());

System.out.println("MyImagePicker - Should Autorotate: "

+ imagePicker.shouldAutorotate());

...

...


It throws:

Folder on...

24

Root VC - Supported orientations: UIInterfaceOrientationMask(0x1e = All(0x1e))

Root VC - Should Autorotate: false

MyImagePicker - Supported orientations: UIInterfaceOrientationMask(0x1e = All(0x1e))

MyImagePicker - Should Autorotate: false

2014-05-15 11:23:14.438 IOSLauncher[1784:70b] *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'

*** First throw call stack:

(

0   CoreFoundation                      0x055e51e4 __exceptionPreprocess + 180

1   libobjc.A.dylib                     0x04d828e5 objc_exception_throw + 44

2   CoreFoundation                      0x055e4fbb +[NSException raise:format:] + 139

3   UIKit                               0x02e675f2 -[UIViewController __supportedInterfaceOrientations] + 509

4   UIKit                               0x02e6761e -[UIViewController __withSupportedInterfaceOrientation:apply:] + 34

5   UIKit                               0x02e67c92 -[UIViewController setInterfaceOrientation:] + 139

6   UIKit                               0x02e5ca8d -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 999

7   UIKit                               0x02da240c -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1534

8   UIKit                               0x02da2109 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 763

9   UIKit                               0x02d9996f __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 158

10  UIKit                               0x02d997fb -[UIView(Hierarchy) _postMovedFromSuperview:] + 260

11  UIKit                               0x02da4dd4 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 1875

12  UIKit                               0x02d97dba -[UIView(Hierarchy) addSubview:] + 56

13  UIKit                               0x0307dc5b -[UINavigationTransitionView transition:fromView:toView:] + 501

14  UIKit                               0x0307da5e -[UINavigationTransitionView transition:toView:] + 55

15  UIKit                               0x02e7e577 -[UINavigationController _startTransition:fromViewController:toViewController:] + 3186

16  UIKit                               0x02e7e8cc -[UINavigationController _startDeferredTransitionIfNeeded:] + 645

17  UIKit                               0x02e7f4e9 -[UINavigationController __viewWillLayoutSubviews] + 57

18  UIKit                               0x02fc00d1 -[UILayoutContainerView layoutSubviews] + 213

19  UIKit                               0x02da7964 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 355

20  libobjc.A.dylib                     0x04d9482b -[NSObject performSelector:withObject:] + 70

21  QuartzCore                          0x03d8745a -[CALayer layoutSublayers] + 148

22  QuartzCore                          0x03d7b244 _ZN2CA5Layer16layout_if_neededEPNS_11TransactionE + 380

23  QuartzCore                          0x03d7b0b0 _ZN2CA5Layer28layout_and_display_if_neededEPNS_11TransactionE + 26

24  QuartzCore                          0x03ce17fa _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 294

25  QuartzCore                          0x03ce2b85 _ZN2CA11Transaction6commitEv + 393

26  QuartzCore                          0x03ce3258 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 92

27  CoreFoundation                      0x055ad36e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 30

28  CoreFoundation                      0x055ad2bf __CFRunLoopDoObservers + 399

29  CoreFoundation                      0x0558b254 __CFRunLoopRun + 1076

30  CoreFoundation                      0x0558a9d3 CFRunLoopRunSpecific + 467

31  CoreFoundation                      0x0558a7eb CFRunLoopRunInMode + 123

32  GraphicsServices                    0x05dd35ee GSEventRunModal + 192

33  GraphicsServices                    0x05dd342b GSEventRun + 104

34  UIKit                               0x02d38f9b UIApplicationMain + 1225

35  IOSLauncher                         0x008f16a1 org_robovm_apple_uikit_UIApplication_main__ILorg_robovm_rt_bro_ptr_BytePtr$24BytePtrPtr$3BLjava_lang_String$3BLjava_lang_String$3B__I + 255

36  IOSLauncher                         0x008efcb7 org_robovm_apple_uikit_UIApplication_main__$5BLjava_lang_String$3BLjava_lang_Class$3BLjava_lang_Class$3B__V + 291

37  IOSLauncher                         0x008efd0e org_robovm_apple_uikit_UIApplication_main__$5BLjava_lang_String$3BLjava_lang_Class$3BLjava_lang_Class$3B__V_clinit + 79

38  IOSLauncher                         0x003f21dd com_neurodigital_babyeduca_IOSLauncher_main__$5BLjava_lang_String$3B__V + 85

39  IOSLauncher                         0x00bddbcd _call0 + 45

40  IOSLauncher                         0x00bd5ac1 callVoidMethod + 93

41  IOSLauncher                         0x00bd6f18 rvmCallVoidClassMethodA + 86

42  IOSLauncher                         0x00bd6f51 rvmCallVoidClassMethodV + 49

43  IOSLauncher                         0x00bd6f7a rvmCallVoidClassMethod + 34

44  IOSLauncher                         0x00bd26eb rvmRun + 592

45  IOSLauncher                         0x00bc8ab1 main + 273

46  IOSLauncher                         0x00219d01 start + 53

)

libc++abi.dylib: terminating with uncaught exception of type NSException


And looking with detail the error stack it is like there was an UINavigationController that is causing all the mess. How can override my LigGDX UINavigationController, taking into account I cannot subclass it because it is embedded with my instance:

public class IOSLauncher extends IOSApplication.Delegate implements ImagePicker {

byte[] byteArray = null;


@Override

protected IOSApplication createApplication() {

IOSApplicationConfiguration config = new IOSApplicationConfiguration();

MyApp myApp = new MyApp(this, null, null);

config.orientationLandscape = true;

config.orientationPortrait = false;

IOSApplication myIOSApp = new IOSApplication(myApp, config);

return myIOSApp;


}


public static void main(String[] argv) {

NSAutoreleasePool pool = new NSAutoreleasePool();

UIApplication.main(argv, null, IOSLauncher.class);

pool.close();

}


Many thanks in advanced. Please Nicklas, turn on the light :D.
Best regards,
Luis.

NeuroDigital Technologies

unread,
May 18, 2014, 5:01:22 AM5/18/14
to rob...@googlegroups.com
Dear all, finally all went OK and everything is working as expected.
I did all the project again from scratch and now config.landscape=true and config.portrait=false are working Ok. This is the code that works for me:

Info.plist.xml:

<key>UISupportedInterfaceOrientations</key>

    <array>

        <string>UIInterfaceOrientationLandscapeLeft</string>

        <string>UIInterfaceOrientationLandscapeRight</string>

        <string>UIInterfaceOrientationPortrait</string>

       

    </array>


MyImagePickerControllerGallery.java:

 public class MyImagePickerControllerGallery extends UIImagePickerController {

    @Override

public boolean shouldAutorotate() {

        return false;

    }

    

@Override

public UIInterfaceOrientationMask getSupportedInterfaceOrientations(){

return UIInterfaceOrientationMask.All;

}

@Override

public UIInterfaceOrientation getPreferredInterfaceOrientation(){

return UIInterfaceOrientation.Portrait;

}

}


IOSLauncher.java:

@Override

protected IOSApplication createApplication() {

IOSApplicationConfiguration config = new IOSApplicationConfiguration();

config.orientationLandscape = true;

config.orientationPortrait = false;

return new IOSApplication(new Demo(this, null, this), config);

}

@Override

public void openGallery() {


keyWindow = UIApplication.getSharedApplication().getKeyWindow();

imagePickerGallery = new MyImagePickerControllerGallery();

imagePickerGallery.setAllowsEditing(true);

imagePickerGallery

.setModalPresentationStyle(UIModalPresentationStyle.CurrentContext);

imagePickerGallery

.setSourceType(UIImagePickerControllerSourceType.PhotoLibrary);


rootVC = keyWindow.getRootViewController();

rootVC.presentViewController(imagePickerGallery, true, null);


UIImagePickerControllerDelegateAdapter delegate = new UIImagePickerControllerDelegateAdapter() {


@Override

public void didFinishPickingImage(UIImagePickerController picker,

UIImage image, NSDictionary info) {

System.out.println(image.getOrientation());

NSData bytes = image.toPNGData();

byteArray = bytes.getBytes();

picker.dismissViewController(true, null);


}

};

imagePickerGallery.setDelegate(delegate);

imagePickerGallery.addStrongRef((ObjCObject) delegate);

}



May many thanks for your support and patience!
Do you find any way to optimice the code?

It stills returns that when using camera instead of gallery:

2014-05-18 11:00:47.174 IOSLauncher[10001:60b] Snapshotting a view that has not been rendered results in an empty snapshot. Ensure your view has been rendered at least once before snapshotting or snapshot after screen updates.


Any idea?

If anyone has doubts or similar problems, please contact me!
Thanks again!
Best regards,
Luis.
Reply all
Reply to author
Forward
0 new messages