iOS Question activityviewcontroller share problem


Licensed User
Longtime User

My app is getting rejected for the third time because apple says that clicking to share button does nothing but I am trying on different devices and it shows the share screen. At last I tried to test it with ipad and boom.

Share button does nothing :
           Dim avc As ActivityViewController
   avc.Initialize("avc", Array(labelofshare & ": " &priceofshare &" TL", Null))
   avc.Show(Page1, Page1.RootPanel) 'Second parameter is relevant for iPad only. The arrow will point to the view.

this is the code.

I am getting :

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x174487990 UILabel:0x1576fa7d0.width == UIView:0x15a800b60.width - 32>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Unable to simultaneously satisfy constraints.
    Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
    "<NSLayoutConstraint:0x174487a80 UILabel:0x1576fa980.width == UIView:0x15a800b60.width - 32>",
    "<NSLayoutConstraint:0x174487490 UIView:0x15a800b60.width == UIView:0x1576f98c0.width>",
    "<NSLayoutConstraint:0x174487ee0 _UIAlertControllerView:0x1575e1a40.width >= UIView:0x1576f98c0.width>",
    "<NSLayoutConstraint:0x174489d80 _UIAlertControllerView:0x1575e1a40.width == UIView:0x1575a7fc0.width>",
    "<NSLayoutConstraint:0x17048fd70 'UIView-Encapsulated-Layout-Width' H:[UIView:0x1575a7fc0(0)]>"

what can i do to fix this ?