Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tại sao không thể Facebook cho iPhone tiếp tục tăng trưởng trong bố trí cũ của nó? Vâng, các tab rất có hiệu quả miễn là bạn chỉ có một cấp độ của các tab. Rất nhiều ứng dụng, bao gồm cả trước đó | 30 CHAPTER 2 Facebook fileName fileName dataUsingEncoding NSUTF8StringEncoding body appendData NSString stringWithFormat @ Content-Length d r n data.length dataUsingEncoding NSUTF8StringEncoding body appendData NSString stringWithFormat @ Content-Type @ r n r n mimeType dataUsingEncoding NSUTF8StringEncoding body appendData data body appendData NSString stringWithFormat @ r n-- @-- r n kStringBoundary dataUsingEncoding NSUTF8StringEncoding If an image was found remove it from the dictionary to save memory while we perform the upload if imageKey _parameters removeObjectForKey imageKey TTLOG @ Sending s body bytes return body Why couldn t Facebook for iPhone have kept growing in its old layout Well tabs are very effective as long as you only have one level of tabs. A lot of apps including the previous Facebook app have two levels of tabs which I think becomes troubling. I see that a lot that people are trying to cram a lot onto this little screen and that second row of tabs becomes tempting when you have two levels of hierarchy to navigate. But having one level of tabs is a great way to navigate. But how different can you make your UI without alienating people That s a big question. I hear it both ways and I do emulate Apple quite a bit. Our message inbox is a lot like Mail. But where I feel like it doesn t fit I just do things a little differently. I m not crazy about the way they do push notifications. Once you get more than one app sending you notifications including SMS it becomes very awkward. I have a Palm Pre to play around with and the way they handle notifications is just perfect. Any app can send something to that little bar on the bottom and they all balance really well the card spec is also really great. I think that apple has a lot of work to do. We re working on push notifications for our app now for messages but not chat but if it worked the way it does on the Pre I d be a lot happier. On the iPhone you actually have to hit OK to dismiss it which .