zhwIdea

Results 3 comments of zhwIdea

reloadData后,如果想让它滚动到指定的卡片位置。可以按以下步骤执行: 1:将指定卡片的下标index赋值给cardView的currentPageIndex,然后再执行reloadData方法。 2: 在reloadData方法里:计算setContentOffset中,将currentPageIndex和self.orginPageCount相加,这样就能刷新后回到指定的位置。

在viewDidLoad中实现:self.navigationController.navigationBar.topItem.title = @"";

I found that this problem occurs on Android 12 after running through the launcher, such as android studio. However, if the apk is installed through adb install, the launch icon...