24h購物| | PChome| 登入
2012-10-12 11:33:20| 人氣320| 回應0 | 上一篇 | 下一篇

wow power leveling Apple seeds iOS 6 beta 4 to developers- h

推薦 0 收藏 0 轉貼0 訂閱站台

WOW Power Leveling on www.powerleveling.us

Apple seed-stock iOS 6 toy with 4 in order to developers: here i will discuss the changelog


Right around 20 times after iOS 5 beta About three was beamed over developers, beta 4 is currently making it's way into those self same hands by using an OTA download. Now we have just revealed that the information are indeed simply being pushed over, with the changelog demonstrating fixes associated with Facebook integration, the Street address Book, endorsement statues, as well as Apple Tv set / Bonjour workflows. You can also get a patched-up Dictionary, iTunes not to mention Maps, involving other things. The total list of updates is set after the crack, but we will recommend a good stiff cup of joe before trying that will digest 'em all. Update: For the eagle-eyed, indeed, this redesign does indeed remove the YouTube app from the iOS homescreen. For anyone out of the trap, Google work with YouTube. And even Apple never shied away from going through its far better distance iOS out of Googlefied apps... [Thanks to make sure you everyone that sent this valuable in] Show full Public realtions text iOS SDK Relieve Notes meant for iOS 6 experiment with 4 Essential: This is a very first document to get an API or concept in development. Although this file has been evaluated for technological accuracy, it is far from final. This Apple exclusive information is for usage only just by registered people in the related Apple Creator program. Apple company company is rendering this sensitive information that can assist you plan for all the adoption in the technologies together with programming interfaces described here. This information is short sale change, as well as software applied according to the document must be tested having final os software and even final records. Newer choices of this record may be furnished with future hybrid tomato seeds of the API or even technology. Guide iOS SDK 6.7 provides help and support for acquiring iOS apps, and this includes the set of Xcode applications, compilers, and frameworks with respect to creating purposes for iOS as well as OS X. These tools add the Xcode IDE and the Resources analysis system, among numerous others. With this software programs you can construct apps regarding iPhone, apple ipad tablet, or itouch running iOS 6. You can also test your apps using the included iOS Emulator, which supports iOS Half a dozen. iOS SDK 6.9 requires a Mac computer computer functioning OS Y 10.Five.4 or older (Lion). This adaptation of iOS means for application only at devices enlisted with Apple's Producer Program. Needing to install this valuable version connected with iOS in an illegal manner could put the device in an unusable status. For more information and other support materials, visit http://developer.apple inc.com/programs/ios/. Bug Revealing To file any bugs not said in the "Notes and also Known Issues" component, please use the Apple Frustrate Reporter in the Apple Builder website (http://developer.apple company.com/bugreporter/). Additionally, you would possibly discuss these issues and iOS SDK Nine in the The apple company Developer Community forums:http://devforums.apple.org. You can get additional information about iCloud designed for Developers within http://developer.apple.com/icloud. Notes and Well-known Issues The next few issues get on with using iOS SDK Some.0 in order to produce code. Provides Framework When requesting the ways to access Facebook accounts, the only key required in your alternatives dictionary is undoubtedly ACFacebookAppIdKey.ACFacebookPermissionGroupKey and ACFacebookAppVersionKey have become obsolete. Should you request the write approval under ACFacebookPermissionsKey, which include publish_stream, you must produce a value for ACFacebookAudienceKey, which can be undoubtedly one of ACFacebookAudienceEveryone, ACFacebookAudienceFriends, or ACFacebookAudienceOnlyMe. Deal with Book FIXED: When a strong app is there to a fresh privacy state as well as tries to provide a ABNewPersonViewController, the individual cannot dismiss that watch controller appropriately, even if the individual allows usage of contacts. Anyone must trigger quit all the app as well as relaunch. Requesting the means to access contacts: Users are able to grant or deny access to contact data files on a per-app grounds. To obtain access to communication data, contact theABAddressBookRequestAccessWithCompletion function after calling all the ABAddressBookCreateWithOptions function. TheABAddressBookRequestAccessWithCompletion perform does not inhibit the app while the visitor is being enquired to grant or divest access. Right until access has become granted, the actual ABAddressBookRef object will not likely contain any specific contacts, and any attempt to change contacts stops working with akABOperationNotPermittedByUserError fault. The user is undoubtedly prompted only the first time connection is sought after; any following calls toABAddressBookCreateWithOptions use the existing authorizations. The completion handler is called with an arbitrary queue. If theABAddressBookRef entity is used in the app, and then all consumption must be sent to the comparable queue to use ABAddressBookRef in a thread-safe process. Checking easy access authorization rank: An software can use this authorization situation API to check if it may access lenses, calendars, ticklers, or the photography library. This API is unbiased from the require access API and won't prompt the individual to grant making or turn down access. On this API an mobile app can correct the exhibit of its User interface elements designed to access the information class. For example, if admittance to contacts is usually authorized or you cannot determined, then this UI switch to pick a contact can be displayed. Regarding Address E book, call typically the ABAddressBookGetAuthorizationStatus function. Meant for Event Guide, call a authorizationStatusForEntityType: class means of EKEventStore. For Possessions Library, contact the authorizationStatus category method of ALAssetsLibrary. The meaning of the level values that are returned is usually as follows: Choice Status Possibly not Determined-The user has not yet yet developed choice related to whether that app may well access the data class. Agreement Status Restricted-This application market is not authorised to access the class. An individual cannot modify this app's level, possibly on account of active disadvantages such as parental controls when i was in place. Consent Status Denied-The buyer explicitly dismissed access to the knowledge class for this app. Acceptance Status Authorized-This practical application is accredited to access the data class. Piece of fruit TV Repaired: In some cases, the screen may very well show unacceptable resolution. Reboot your Apple mackintosh TV to return it towards the correct res. FIXED: Fruit TV might possibly restart when using the Remote iphone app. FIXED: Apple mackintosh TV may very well restart when ever changing the unit language. Repaired: Photo Supply does not strain when logging into websites a second point in time. Restart Business TV to eliminate. Music fails to play for the period of photo slideshows. Exhibit saver will probably revert to using the defaulting images right after installing revision. Bonjour The NSNetService program and CFNetService APIs will not include File sharing interfaces automagically. To peruse, register, or perhaps resolve expertise over File sharing interfaces, some sort of app must use the Bonjour DNSService*() APIs known below. Setting up the interfaceIndex parameter to help you kDNSServiceInterfaceIndexAny in the subsequent APIs will not involve P2P interfaces by default. In order to incorporate P2P interfaces, you must these days set the actual kDNSServiceFlagsIncludeP2P flag when you use kDNSServiceInterfaceIndexAny or fixed the interfaceIndex tokDNSServiceInterfaceIndexP2P. Any affected APIs are actually: DNSServiceBrowse DNSServiceRegister DNSServiceResolve DNSServiceRegisterRecord DNSServiceQueryRecord Dictionary Set: There is a best-known issue with dictionaries when attempting to define a word in every language besides English and even Japanese. In case the reference archives is exposed, the user emerges the option towards download some sort of dictionary-that download may well not begin. A computer owner can engage outside the popover for an iPad as well as tap the Done button in the software on the iphone 3gs or ipod itouch to ignore the download and install request. Occasion Kit Requiring access to wall calendars or reminders: Users are able to grant or deny access to occurrence and memory data even on a per-app basis. To be able to request the means to access event and/or indication data, phone therequestAccessToEntityType:completion:: technique for EKEventStore. This will definitely not block your app even though the user is now being asked to grant and deny get. Until get has been granted for an being type, case store won't contain every calendars in the entity variety and any effort to save files will get it wrong. The user will be prompted precisely the first time discover is demanded; any pursuing instantiations of EKEventStore may use the existing read write. The completion trainer is called upon an arbitrary line. Game Coronary heart FIXED: When designing a new Match Center membership in-app on the ipad tablet, the popover for selecting the period of your age shows up without having any content purchase. The authenticate means of GKLocalPlayer has been cleaned up and removed. Authentication definitely will commence quickly when the achievement handler is defined. As of iOS 5 beta Check out, GKGameCenterViewController singleton is no longer established. As of iOS 7 beta 4, GKScore+Sharing.h file and assistant category seem to be removed. iCloud When designing an iCloud membership, you can use all email-based Apple # or your existing iCloud bank account. If you had a good MobileMe account that you really did not go on to iCloud, you can use who Apple Identify to sign up for an alternative iCloud account (not one of your old MobileMe data will undoubtedly be present). icloud.org email addresses are now available for iCloud mailing users. Users signing up for innovative Apple IDs, as well as enabling Postal mail on their iCloud explain the first time, is going to automatically attain an @icloud.com email address instead of a me.net email address. iCloud owners with @me.net addresses who have been used with iOS Five beta Several or down the road will receive a strong @icloud.com email that matches the @me.com correct. icloud.com email address cannot be directed from world wide web.icloud.com. Individuals should take advantage of http://beta.icloud.com now if they like to use a internet browser to send e-mail from their icloud.com address. @icloud.com addresses is going to be added in just two weeks connected with first using iOS 6. Provisioning dating profiles must be capable for iCloud around the iOS Provisioning Portal. Permit a provisioning account for iCloud, demand App Detection section of the iOS Provisioning Site and change your Mobile application ID to get iCloud. After enabling the Mobile app ID meant for iCloud, regenerate a person's provisioning profiles to enable them pertaining to iCloud. The setSortDescriptors: method of NSMetadataQuery is not established. In iOS 6, files that can be protected by way of Data Proper protection cannot be in combination with iCloud Storage APIs. Filenames really are case-insensitive in The gw990 X but case-sensitive in iOS. This may problems when using iCloud to share docs between the only two platforms. With iOS, you should take the appropriate steps to avoid setting up files with the help of names which often differ mainly by court case. The behavior regarding coordinated read through operations concerning iCloud Documents offers changed: Concerning previous iOS relieves, when your application performed some coordinated browse operation even on a file or possibly package and the iCloud daemon noticed that there's a newer version of the products available, this coordinated go through operation impeded until the newer version in the item had been downloaded in addition to written in to the disk. As of iOS 6 beta 3, when you first intend a synchronised read operation on a data or packet for which you have actually a local variant, the synchronized read can be granted quickly, and the latest version, if just about any, will download and install in the background. That call should block to get downloading underlying factors only if you do not have any model of the record available locally. Additionally, if the file is certainly conflicted, the iCloud daemon will likely not wait until it consists of all the disagreement losers on the file there to make the record available to a person's app. Also . the different styles of the conflicted data available the second it can. Your main app can make use of the existing file coordination and also theUIDocument callbacks to be recommended when the trouble losers happen to be downloaded and are avalable. iTunes iTunes 10.Half a dozen.3 is for iOS SDK Six.0. Recent public betas about iOS can no longer obtain iTunes Meet songs. Area In iOS Some beta A number of, modifications used to be introduced to the brand new enum CLActivityType in Center Location: Upgrade CLActivityTypeVehicularNavigation with CLActivityTypeAutomotiveNavigation. Bring CLActivityTypeOtherNavigation for many other vehicular navigation-e.gary the gadget guy., boats, train locomotives, or jets. Maps Throughout iOS 6 and later, Map Pack is built over a new structure hosted by just Apple. Sooner iOS releases continues to use The major search engines service. API child stroller will be taken care of (see acknowledged issues beneath). Maps now are supported within Simulator. Guide data continues to evolve-only a confined amount of high-resolution cable imagery is already available. Nav apps that will not specify some sort of coverage submit during development will always be exposed in the Mapping routing search engine rankings. Testing and additionally debugging of insurance plan files designed for routing software is only recognized during progress through the Xcode Work workflow. (You can easily specify the protection file for a particular Run system using the Choices pane of your Run portion of the scheme publisher.) Apps which might be archived and also distributed (outside of the App Stash) onto instruments will not have having access to the app's insurance coverage files. Solved: Maps doesn't necessarily zoom within the current location when launched from a third-party mobile app. Newsstand FIXED: Primarily simple HTTP packages will work together with Newsstand. Passbook The Explanation field is right now a desired field for your Pass. All of the passes produced without it might fail to ensure and will not beverage. Passbook in Simulation no longer demands https/ssl when using the webServiceURL when enjoying a successfully pass. FIXED: Struggles to show boarding passes relating to lock screen. Passes will no longer fall time for background.png should strip.png isn't really included in your move bundle. The actual contents of typically the userInfo dictionary meant for PKPassLibraryDidChangeNotification have replaced in the case of cleaned up and removed passes. Remember to consult the most up-to-date documentation to the new userInfo book. Security For iOS 5, affixing your signature to a certificate having an MD5 signature is just not supported. I highly recommend you ensure that records use signature bank algorithms according to SHA1 or SHA2. Around iOS 6, you'll find improved privateness controls pertaining to Calendar, Memory joggers, Contacts, and Photos. Members will see entry dialogs when any app attempts to access any of those data models. The user will be able to switch accessibility on and off with Settings > Personal privacy. Developers will set some "purpose" string for every one class involving isolated files. iOS displays this approach string to help you users to assist them to understand why their data is increasingly being requested. Most of these strings is often added applying Xcode's Project publisher, which is while in the Info an eye. The relevant main names begin from the piece of string "Privacy -". There are variations to the Party Kit not to mention Address Course frameworks to help creators with this include wow power leveling. Simulator Mounted: The app delete verification alert cell takes a though to show together in iOS Emulator. No privacy alerts really are displayed on iOS Simulator meant for apps of which access Pictures, Contacts, Appointment setting, and Simple guidelines. Downloading In-App Get hosted subject matter in iOS Simulation is not protected. When endeavoring to play a MP3 sensible in Simulation, you will find out a popcorn sound alternatively. Shared Graphic Stream People must go to Spaces > iCloud to ensure that some people receive Revealed Photo Stream Notifications. As a way to share an image Stream utilizing iOS 6 try out, you must compel someone making use of his iCloud email; otherwise, he can not find the invitation. Changing from iOS 7 beta A to toy with 2 may cause your product to redownload your personal Shared Picture Streams. All the Shared Photo Stream element is set so that you can OFF in the event that updating via iOS 6 toy with 1 towards a later free up. The failure to pay setting ought to be ON. Solved: Turning away from Shared Photo Streams may possibly leave High-end camera in an less competent state; pressure quitting the digital camera app will probably resolve this disorder. Social Weibo occurs in the Configuration settings app only once a Chinese language keyboard is undoubtedly enabled. All of the requestAccessToAccountsWithType:withCompletionHandler: method of ACAccountStore is currently deprecated. To access owner accounts, be sure to use the requestAccessToAccountsWithType:alternatives:completion: tactic. In the alternate options parameter of this brand new method, move nil to locate Twitter in addition to Weibo accounts. To view Facebook records, pass any dictionary considering the following secrets (which are written about in ACAccountStore.m): ACFacebookAppIdKey ACFacebookPermissionsKey You should not add this specific dictionary with your app's Info.plist data file, as has been required in toy with 1. Any time requesting use of Facebook consideration, the only major required in your alternatives dictionary is usually ACFacebookAppIdKey.ACFacebookPermissionGroupKey and ACFacebookAppVersionKey can be obsolete. If you happen to request a new write authorization under ACFacebookPermissionsKey-such seeing that publish_stream-you must make a value with respect to ACFacebookAudienceKey, which can be considered one of ACFacebookAudienceEveryone, ACFacebookAudienceFriends, or ACFacebookAudienceOnlyMe. Rank Bar It is currently possible to set status bar tint criteria in your app's Tips.plist file. You could possibly do this to make sure that the situation bar coloration matches any app's navigation nightclub color in the time of startup. That will put the reputation bar film, add the actual UIStatusBarTintParameters key to a person's Info.plist file. The value of the key is a new dictionary using the appropriate values describing your navigation bartender your instance has at startup. Contained in the dictionary ought to be the UINavigationBar key, with a value this really is also a glossary. That dictionary contains the initial navigation bar's design (with the Design key) along with whether it is transparent (with the See-through key). In the event your navigation standard uses all of them, you can also establish its hue color (along with the TintColor key) or maybe the name of that custom foundation image (while using BackgroundImage key). UIKit Around iOS 5.One, the UISplitViewController program adopts typically the sliding display style when presenting your left see (previously looked at only within Mail). This kind of style is commonly employed when powerpoint presentation is began either by existing watering hole button device provided by a delegate means or from a swipe gesture inside the right perspective. No supplemental API adoption is required to obtain the following behavior, and all existing APIs-including that relating to the UIPopoverController circumstance provided by a delegate-will continue to be before. If your gesture will be insupportable in your practical application, setting this presentsWithGesture property from your split view controller to assist you to NO disables the body language. However, circumventing the body language is overwhelmed because the nation's use maintains a consistent user experience across every apps. Set: In iOS Six, changes are generally introduced so that you no longer need to set a delegate plus implement a strategy for Single-Finger as well as Single-Tap gesture recognizers. This makes them deal with the UIControl subjects. In iOS Half a dozen and later, the particular UIWebView class shows its elements asynchronously. Autorotation is changing on iOS 6. Within iOS 6, all the shouldAutorotateToInterfaceOrientation: method of UIViewController is deprecated. In its position, you should use the supportedInterfaceOrientationsForWindow: and shouldAutorotate approaches. More task is switching to the practical application and the software package delegate. Presently, iOS containers (such as UINavigationController) do not talk to their children to work out whether they needs to autorotate. By default, any app in addition to a view controller's held interface orientations are set toUIInterfaceOrientationMaskAll towards the iPad idiom plus UIInterfaceOrientationMaskAllButUpsideDown for the new iphone 4 idiom. A watch controller's supported connect orientations can change about time-even an app's recognized interface orientations can turn over time. It asks the actual top-most full-screen view controller (typically the base view controller) for its backed interface orientations anytime the device moves or if your view controller is assigned the full-screen modal presentation style. Likewise, the backed orientations are restored only if this unique view controlled returns Without a doubt from its shouldAutorotate solution. The system intersects the scene controller's supported orientations using the app's supported orientations (simply because determined by the words.plist file as well as app delegate'sapplication:supportedInterfaceOrientationsForWindow: strategy) to determine whether they should call rotate. The unit determines whether or not an direction is backed up by intersecting the value come back by the app'ssupportedInterfaceOrientationsForWindow: way with the appeal returned via the supportedInterfaceOrientations method of the particular top-most full-screen controller. Your setStatusBarOrientation:animated: technique is not deprecated completely. However, the software now gets results only if thesupportedInterfaceOrientations approach to the top-most full-screen watch controller dividends 0. The puts the responsibility of ensuring that all the status pub orientation is undoubtedly consistent throughout the hands for the caller. Just for compatibility, look at controllers that also implement this shouldAutorotateToInterfaceOrientation: method are rarely getting the new autorotation signs and symptoms. (In other words, they don't fall here we are at using the practical application, app assign, or Information and facts.plist file to ascertain the supported orientations.) In lieu, the shouldAutorotateToInterfaceOrientation: technique is used to synthesize the internet that would be arrived by thesupportedInterfaceOrientations strategy. The willRotateToInterfaceOrientation:period:, willAnimateRotationToInterfaceOrientation:duration:, anddidRotateFromInterfaceOrientation: means are no longer referred to as on just about any view operator that makes an important full-screen presentation during itself-for example, from calling presentViewController:lively:completion:. Factors to consider that your applications are not with your methods to cope with the layout for any subviews. Instead, they will likely use the see controller'sviewWillLayoutSubviews method not to mention adjust customized for specific cultures using the view's bounds rectangle. When it comes to iOS 6, your viewWillUnload and viewDidUnload ways of UIViewController are now deprecated. If yourrrve been using these techniques to release knowledge, use the didReceiveMemoryWarning process instead. Additionally you can use this technique to release referrals to the check out controller's view if it is not being used. You could need to analyze that the perspective is not within the window prior to when doing this. It will be unsupported recreate values for your shadowOffset or shadowColor homes of a UILabel product if its attributedText premises contains a applicable attributed cord. Instead, make use of NSShadowAttributeName attribute of one's attributed piece of string to set the cisco kid. Due to matchup concerns, typically the NSBaselineOffsetAttributeName attribute is not supported during iOS 6. Any NSTextAlignmentNatural value is normally unsupported which will throw an exception when used in combination with the textAlignment home of UILabel and also supplied since the alignment parameter towards the drawInRect:withFont:lineBreakMode:alignment: procedure for NSString. The setContentStretch: technique for UIView has been deprecated in this particular beta launch. To achieve the very same effect, employ theresizableImageWithCapInsets: method of UIImage and display the actual with a UIImageView. The resizableImageWithCapInsets: method of UIImage appropriately resizes images through tiling. As a functionality optimization, the application uses advancing rather than tiling after the user wouldn't be able to tell the difference, such as each time a single ray or line is being drained. But in specific situations, the user may choose to actually stretch out some section of an impression. In iOS Some, the resizableImageWithCapInsets:resizingMode: system allows all of the caller to help specify a good tiling or extending resizing mode. The UICollectionViewLayout class possesses changed: The category now supports the customization with the animations developed during revolving. The names in methods for creating insert as well as delete animated graphics have also transformed, so the same hooks can be used for rotations too insertions and deletions. The course has altered some procedure names. Exclusively, decoration feelings are no longer identified by "reuse identifier" instead by "element variety." Wordpress that are utilizing decoration sights will need to improve their code and rebuild to accommodate that. The bottom side of a UILabel enjoy is now not the same its base. Previously, vehicle layout has been interpreting the foot of a UILabel to remain the same as their baseline. At the same time convenient more often than not, it brought on problems if you happen to wanted to you can put top edge of one brand against the bottom edge of another. Ordinary scenario, the base label would likely overlap the top one particular, and descenders on the top label could stop responding into ascenders with the bottom brand. Now, car layout feels UILayoutAttributeBottom as the floor of the text box (accepting the ingredients label is not greater than its inbuilt content measurement) and UILayoutAttributeBaseline while the baseline from the text. If you have already formulated code meant for laying out brands according to the foundation or heart point, a person's text may move around slightly and you will require to adjust ones own constraints. Software with dinner table views as part of their nib or storyboard data files, and that were definitely built by using previous variations of iOS Some beta, is going to take a clear build having beta Many and more recent. Here are some sounds regarding car or truck layout assist for UIScrollView: Generally speaking, auto design considers the best, left, bottom level, and proper edges of any view to become the noticeable edges. That is definitely, if you personal identification number a view to the left fringe of its superview, you're really pinning it into the minimum x-value within the superview's bounds. Altering the bounds origin of your superview does not affect the position from the view. The actual UIScrollView class scrolls it is content with changing dogs with aggressive behavior of its bounds. To make this work along with auto structure, the meaning of one's top, allowed to remain, bottom, and then right corners within a scroll view presently mean the sides of its articles view. The constraints relating to the subviews of the search view have to result in a size to occupy, which is afterward interpreted being the content proportions of the browse view. (This could not be confused with the intrinsicContentSize means used for motor vehicle layout.) For you to size any scroll view's skeleton with motor layout, demands must both be clear regarding the size and position of the scroll view, or even the edges from the scroll look at must be bound to views beyond the borders of its subtree. Remember that you can make an important subview of the search view may actually float (definitely not scroll) covering the other scrolling written content by designing constraints between the view plus a view beyond the scroll view's subtree, for example the scroll view's superview. For example of how to configure the particular scroll access: Mixed deal with: Position and also size ones scroll watch with limitations external in to the scroll view-that is usually, thetranslatesAutoresizingMaskIntoConstraints property is fixed to Certainly no. Create a ordinary UIView content viewpoint for your scroll view that is the size that you would like your content for getting. Make it a subview of your scroll see but allow it continue to understand the autoresizing camouflage into limits: UIView *contentView = [[UIView alloc] initWithFrame:CGRectMake(6,0,contentWidth,contentHeight); [scrollView addSubview:contentView]; // DON'T change contentView's translatesAutoresizingMaskIntoConstraints, // which defaults to Absolutely; Set prefer to size of any scroll look at to match the magnitude of the content see: [scrollView setContentSize:CGMakeSize(contentWidth,contentHeight)]; Produce the vistas you want to place inside the articles view and then configure his or her's constraints to be able to position these within the information view. Additionally, you can create a new view subtree to penetrate the scroll view, developed your constraints, and call the systemLayoutSizeFittingSize:tactic (with the UILayoutFittingCompressedSize selection) to find the length and width you want to make use of for your information view plus the contentSizeproperty of the scroll view. Pure auto pattern approach: Usually, translatesAutoresizingMaskIntoConstraints must be fixed to Simply no on all of views concerned. Position and additionally size the scroll access with constraints external into the scroll enjoy. Use difficulties to lay out there subviews within the search view, confirming that the regulations tie to every four perimeters of the search view and rely on a scroll perspective to get their dimensions. A simple occasion would be a good sized image viewpoint, which has an important content dimension derived from the strength of the image. In your viewDidLoadmethod of your viewpoint controller, you'd include signal like the pursuing: UIScrollView *scrollView = [[UIScrollView alloc] init]; UIImageView *imageView = [[UIImageView alloc] init]; [imageView setImage:[UIImage imageNamed:"MyReallyBigImage"]]; [self.view addSubview:scrollView]; [scrollView addSubview:imageView]; scrollView.translatesAutoresizingMaskIntoConstraints = NO; imageView.translatesAutoresizingMaskIntoConstraints Equals NO; NSDictionary *viewsDictionary Equals NSDictionaryOfVariableBindings(scrollView,imageView); [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[scrollView]|Inch options:3 metrics: 0 viewsDictionary:viewsDictionary]]; [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView]|In options:6 metrics: Zero viewsDictionary:viewsDictionary]]; [scrollView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[imageView]|" selections:0 measurements: 0 viewsDictionary:viewsDictionary]]; [scrollView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[imageView]|Centimeter options:1 metrics: 3 viewsDictionary:viewsDictionary]]; This would provide you with a scroll check out that resized because the view controller's perspective resized (such as regarding device revolving), and the graphic view will be a scrolling subview. You don't have to collection the content measurements of the browse view. With all this view hierarchy: ContainerView | OddHeightView | | EvenHeightView | OtherFixedHeightView and these restrictions: EvenHeightView.centerY == OddHeightView.centerY EvenHeightView.bottom (as well as baseline) == OtherFixedHeightView.underlying part (or guideline) OtherFixedHeightView.top == ContainerView.prime + in iOS 6 try out 4, concerning non-Retina display units, the feet (or baselines) in the EvenHeightView and the OtherFixedHeightView had been off by way of one pixel plus the developer could quite possibly do nothing regarding this. This issue is now fixed. Until the changes, design engine decided not to integralize the position features for the feelings, and these difficulties were often satisfiable: ContainerView | OddWidthView | EvenWidthView


Apple signs iOS 6 try out 4 that will developers: irrrll tell you the changelog

台長: wow power levleing223
人氣(320) | 回應(0)| 推薦 (0)| 收藏 (0)| 轉寄
全站分類: 興趣嗜好(收藏、園藝、棋奕、汽機車)

是 (若未登入"個人新聞台帳號"則看不到回覆唷!)
* 請輸入識別碼:
請輸入圖片中算式的結果(可能為0) 
(有*為必填)
TOP
詳全文