ios - Communicating between Mysql php and Objective c -
currently developing application in xcode using objective c can post , view other peoples posts. sends post database, , on view controller post shown user of app see. know how post , receive data database, problem displaying data. display un-editable textview or along line each post on page displays posts. not sure how create 1 every time there new post , how make page scroll. know lot ask, if possible please me out. if confused how trying display data, @ edmodo's mobile app. trying display posts in manner. once again, thank , please help!
to solve problem need use uitableview or uitableviewcontroller , need create custom uitableviewcell per need display post.
a custom uitableviewcell consist of uitextview , setting editable property in attribute inspector or programmatically self.yourtextview.editable = no;
can make uitextview non-editable. check following links:
- http://www.appcoda.com/customize-table-view-cells-for-uitableview/
- http://www.appcoda.com/self-sizing-cells/
hope helps.
Comments
Post a Comment