Ankit Sachan
Ankit Sachan

Reputation: 7850

ipad:orientation issues

Regards to everybody here I am with another problem. I have some screens which basically have several search filters and search results are displayed accordingly in a table. Now I have orientation issues cause this search screen does not cover the full screen in landscape mode.

Solutions that I came across:

  1. Two xibs for same view but I'll loose data if I do so as this data will be in bulk so I can store it locally.
  2. write lots of coordinate related code which is again cumbersome as there will be lots of search filters.
  3. Autoresizemask -> not able to implement this upto expectations. (I tried this but was able to move the screen to the center but I wanted the complete view expanded resizefill something)

Can anybody enlighten me on this so that screens can be prepared in standard ways. Thnx in advance.

Refer the screen shots portrait mode

landscapemode

Upvotes: 0

Views: 194

Answers (1)

Ankit Sachan
Ankit Sachan

Reputation: 7850

ok it finally worked.. we just have to adjust resizing mask for xibs or set autoresizemasks for the view-- as Ole Begemann mentioned

Upvotes: 1

Related Questions