Semi-urgent: iOS QuickView component support

Hi,

We’re at 70-80% of our app and we need to be able to open and display local files for well, a quick view.

See also this public thread http://developer.anscamobile.com/forum/2011/07/14/opening-files-sending-other-apps

The app we’re making demonstrates Corona being used in a non-gaming manner in an extraordinary way; if you’re Corona Staff and want to know more contact me privately under a gentleman’s NDA. So being able to display more files via QuickView will probably help us both …

Keep up the great work!

–Maarten [import]uid: 5822 topic_id: 12482 reply_id: 312482[/import]

this is my email

cicaza [at you know where] anscamobile [dot] com

c [import]uid: 24 topic_id: 12482 reply_id: 45638[/import]

Corrected in the (second) email: QuickLook component, as in https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Reference/QLPreviewController_Class/Reference/Reference.html%23//apple_ref/occ/cl/QLPreviewController

Any feedback highly appreciated (privately or here). [import]uid: 5822 topic_id: 12482 reply_id: 45886[/import]

“any feedback”

:slight_smile:

we are in code freeze - we will revisit this and the other features and see what we can do after we convene from the after ship recovery

[import]uid: 24 topic_id: 12482 reply_id: 46094[/import]

FIXED.

local path = system.pathForFile(“sometest.doc”,system.ResourceDirectory)
native.showWebPopup(0,0,320,480,path)

is the way to do it, also works for Pages, etc. system.PathForFile is crucial here. Also works on system.DocumentsDirectory.

Tested on iOS 4.3.5, OS X Lion, build 585

:slight_smile: [import]uid: 5822 topic_id: 12482 reply_id: 48136[/import]

woot !!!

.c [import]uid: 24 topic_id: 12482 reply_id: 48164[/import]

Yep, Corona is even better than you thought, isn’t that nice :slight_smile: [import]uid: 5822 topic_id: 12482 reply_id: 48174[/import]

Seems to be broken on iOS5 - black screen.

Both on build 645 and 681.

(LOL great to find out 8h after you renewed…) [import]uid: 5822 topic_id: 12482 reply_id: 67744[/import]

Works again in build 687 (688 and 689 crash for me).

As a bonus: iOS 5 also previews docx documents (besides doc, pdf, pages and rtf and of course, html) [import]uid: 5822 topic_id: 12482 reply_id: 68723[/import]