Posts

Post not yet marked as solved
1 Replies
187 Views
I want to create a menu like the following so is there is any library or show I create a custom view and present it if yes is there is any way to create a curve shape like that
Posted Last updated
.
Post marked as solved
1 Replies
242 Views
I have collectionView inside table view , when I press on the collection view sometimes the view pop to the previous VC and when I change the collection view hight to any number it works but when I deploy on real device without changing the cell hight the issue appears with the following error: this is my code for tableviewCell     func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {         if segmentControl.selectedSegmentIndex == 0{             return 270         }         else{             return 310         }     } this is inside dequeResuableCell (TableView) if isFromME{             cell.color = .orange             cell.isFromOthres = 0             cell.high = 230         }else{             cell.color = .gray             cell.isFromOthres = 1             cell.high = 265         } and this is for collectionView Hight     func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {         return CGSize(width: width , height:  (high))     } [TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <UITableView: 0x128159000; frame = (5 110; 404 765); clipsToBounds = YES; autoresize = RM+BM; autoresizesSubviews = NO; gestureRecognizers = <NSArray: 0x600001bd6fd0>; layer = <CALayer: 0x600001561060>; contentOffset: {0, 0}; contentSize: {404, 0}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <Rino.PaymentViewController: 0x125524560>>
Posted Last updated
.
Post not yet marked as solved
1 Replies
293 Views
when i press on button that shows another vc that contains search bar the button freeze for 2 sec then redirect me to the view controller and this happens for the first time only I tired to hash my logic and keeps only the search bar but nothing worked just when I delete the search bar everything goes right
Posted Last updated
.
Post not yet marked as solved
0 Replies
185 Views
good Evening Devs I have a problem when I use search bar, the problem appears when I press a button which push a view controller when I add search bar into the new view controller it loads very slow for the first time only, I was using the search bar on navigationTitleView I tried also to hide the navigation bar and make custom view and add the search bar on it but the problem is still exists. once I add the search bar to the new view controller the problem appears rather than no problem and it loads fast Thanks I n advance Note That I using semantic force Right to left
Posted Last updated
.