[DCC Error] DPF.iOS.UITableView.pas(2026): E2197 Constant object cannot be...
Delphi iOS Native Components
Brought to you by:
b_yaghobi
I have developed an application using DPF components for iOS. Building it for iOS 32 bit is working fine but when I try to build it for iOS 64 bit it's failing giving me this error:
"[DCC Error] DPF.iOS.UITableView.pas(2026): E2197 Constant object cannot be passed as var parameter".
This error is coming in function i.e.
"function TTableViewDataSourceDelegate.tableView( tableView: UITableView; numberOfRowsInSection: NSInteger ): NSInteger;"
On this line:
"FDPFUITableView.OnGetNumberOfRowsInSection( FDPFUITableView, FDPFUITableView.FSearchTextExists, numberOfRowsInSection, Integer( result ) );" .
It's has blocked me from uploading application to the app store, I have no clue about it. Please guide me.
Get the latest version of DPF from SVN.