def __init__(self):
self.view = ui.load_view('SpecialButton')
self.view.present('fullscreen')
self.label = ui.Label(frame=(120,100,100,100))
self.btn = MyButtonClass(self.label)
self.view.add_subview(self.btn) #watch the order, first button and then the label
self.view.add_subview(self.label)
评论列表
文章目录