iOS Question Error adding customlistview

kohle

Active Member
Licensed User
Longtime User
I get the following error :

-[b4i_customlistview superview]: unrecognized selector sent to instance 0x175877b0



<code>
Dim clv2 As CustomListView 'In Process globals
clv2.Initialize(Me,"clv2")
Page1.RootPanel.AddView(clv2,0,20%y,100%x,80%y)
</code>
 

kohle

Active Member
Licensed User
Longtime User
Hi,

I added manually because, with the designer I had a space between a imageview and the customlistview,
when resolution of screen gets bigger.

So I do this, what works fine without the customlistview.


BANNER.Initialize("")
BANNER.Bitmap=LoadBitmap(File.DirAssets,"topo-novo-10-anos-2.jpg")
BANNER.SizeToFit
Page1.RootPanel.AddView(BANNER,0,0,100%x,20%y)
clv2.Initialize(Me,"clv2")
Page1.RootPanel.AddView(clv2,0,20%y,100%x,80%y)



Error message:

Application_Start
Error occurred on line: 114 (Main)
-[b4i_customlistview superview]: unrecognized selector sent to instance 0x155b3580
Stack Trace: (
CoreFoundation <redacted> + 150
libobjc.A.dylib objc_exception_throw + 38
CoreFoundation <redacted> + 0
CoreFoundation <redacted> + 700
CoreFoundation _CF_forwarding_prep_0 + 24
UIKit <redacted> + 128
UIKit <redacted> + 30
result -[B4IPanelWrapper AddView:::::] + 142
CoreFoundation <redacted> + 68
CoreFoundation <redacted> + 292
result +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1786
result -[B4IShell runVoidMethod] + 210
result -[B4IShell raiseEventImpl:method:args::] + 2154
result -[B4IShellBI raiseEvent:eventarams:] + 1442
result __33-[B4I raiseUIEvent:eventarams:]_block_invoke + 74
libdispatch.dylib <redacted> + 10
libdispatch.dylib <redacted> + 22
libdispatch.dylib <redacted> + 1524
CoreFoundation <redacted> + 8
CoreFoundation <redacted> + 1574
CoreFoundation CFRunLoopRunSpecific + 520
CoreFoundation CFRunLoopRunInMode + 108
GraphicsServices GSEventRunModal + 160
UIKit UIApplicationMain + 144
result main + 108
libdyld.dylib <redacted> + 2
)
Application_Active
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…