Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Button action event
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 1259610" data-attributes="member: 11647"><p>First, use the CODE tag around code that you post. It will keep formatting as intended and not post messed up characters such at that sad face.</p><p></p><p>I haven't created a UIViewController manually before, but looking over your code and some documentation, your code looks fine to me.</p><p></p><p>I'm not sure what your really asking.</p><p></p><p>Perhaps you should read "<a href="http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/UIElementGuidelines/UIElementGuidelines.html%23//apple_ref/doc/uid/TP40006556-CH13-SW1" target="_blank">Alerts, Action Sheets, and Modal Views</a>" in Apple's iOS Human Interface Guidelines to see what fits for your scenario.</p><p></p><p>Your method name "presentsheet" suggests you want to display something from the file, but you haven't described what it is or how much screen space it may take. Perhaps placing it into a model UIViewController would make sense, or creating a custom presentation view. You are allowed to be creative.</p></blockquote><p></p>
[QUOTE="xstep, post: 1259610, member: 11647"] First, use the CODE tag around code that you post. It will keep formatting as intended and not post messed up characters such at that sad face. I haven't created a UIViewController manually before, but looking over your code and some documentation, your code looks fine to me. I'm not sure what your really asking. Perhaps you should read "[URL="http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/mobilehig/UIElementGuidelines/UIElementGuidelines.html%23//apple_ref/doc/uid/TP40006556-CH13-SW1"]Alerts, Action Sheets, and Modal Views[/URL]" in Apple's iOS Human Interface Guidelines to see what fits for your scenario. Your method name "presentsheet" suggests you want to display something from the file, but you haven't described what it is or how much screen space it may take. Perhaps placing it into a model UIViewController would make sense, or creating a custom presentation view. You are allowed to be creative. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Button action event
Top