Override supported destination on xcFramework

Is it possible to display the screen same as the size of iphone on Ipad even if the app supports iPad.

Want to prevent resize of screens on iPad for a library even though the app supports iPad.

is that possible?