Hi,
A very simple project just to demonstrate the log dump...
And the log...
I'm sure that this error do not pases de Apple filter... Any idea?
A very simple project just to demonstrate the log dump...
B4X:
'Code module
#Region Project Attributes
#ApplicationLabel: Dialer
#Version: 1.0.0
'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
#iPhoneOrientations: Portrait
#Target: iPhone
#MinVersion: 9
#QueriesSchemes: tel
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'Public variables can be accessed from all modules.
Public App As Application
Public NavControl As NavigationController
Private Page1 As Page
'Private Button1 As Button
End Sub
Private Sub Application_Start (Nav As NavigationController)
NavControl = Nav
Page1.Initialize("Page1")
Page1.RootPanel.LoadLayout("main")
NavControl.ShowPage(Page1)
End Sub
Private Sub Page1_Resize(Width As Int, Height As Int)
End Sub
Private Sub Application_Background
End Sub
Sub Button1_click
Private phonenumber As String
phonenumber = "tel:000"
If App.CanOpenUrl(phonenumber) Then
App.OpenURL(phonenumber)
End If
End Sub
And the log...
B4X:
Application_Start
Application_Active
Application_Inactive <------------------------- OpenUrl & makes call with no problem
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.
(
"<NSLayoutConstraint:0x16d61c80 V:|-(20)-[UIInputSetContainerView:0x16e676e0] (Names: '|':UITextEffectsWindow:0x16e39080 )>",
"<NSLayoutConstraint:0x16e63c90 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x16e676e0] (Names: '|':UITextEffectsWindow:0x16e39080 )>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x16d61c80 V:|-(20)-[UIInputSetContainerView:0x16e676e0] (Names: '|':UITextEffectsWindow:0x16e39080 )>
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.
Application_Active <---------------------------- return from call when call ended
I'm sure that this error do not pases de Apple filter... Any idea?